Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it("returns 201", async () => {
- const product = { name: "tshirt", price: 20, weight: 0.1 };
- const { statusCode } = await queryApi("POST", "/products", {body: data});
- expect(statusCode).to.equal(201);
- });
Add Comment
Please, Sign In to add comment