We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f888aed + 7cec561 commit 3723cf7Copy full SHA for 3723cf7
chapter2/4_end_to_end_tests/1_http_api_tests/server.test.js
@@ -15,7 +15,7 @@ const getItems = username => {
15
16
test("adding items to a cart", async () => {
17
const initialItemsResponse = await getItems("lucas");
18
- expect(initialItemsResponse.status).toEqual(404);
+ expect(initialItemsResponse.status).toBe(404);
19
20
const addItemResponse = await addItem("lucas", "cheesecake");
21
expect(await addItemResponse.json()).toEqual(["cheesecake"]);
0 commit comments