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 737b556 + 5ef99db commit 217ef8aCopy full SHA for 217ef8a
chapter2/5_tests_cost_and_revenue/1_good_vs_bad/well_written.test.js
@@ -18,7 +18,7 @@ afterAll(() => app.close());
18
19
test("adding items to a cart", async () => {
20
const initialItemsResponse = await getItems("lucas");
21
- expect(initialItemsResponse.status).toEqual(404);
+ expect(initialItemsResponse.status).toBe(404);
22
23
const addItemResponse = await addItem("lucas", "cheesecake");
24
expect(await addItemResponse.json()).toEqual(["cheesecake"]);
0 commit comments