Created
May 18, 2018 14:45
-
-
Save simonrenoult/769cbe49eef21dc68cce01ce23039bff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment