Skip to content

Commit 217ef8a

Browse files
authored
Merge pull request #20 from helderburato/patch-3
Update well_written.test.js
2 parents 737b556 + 5ef99db commit 217ef8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter2/5_tests_cost_and_revenue/1_good_vs_bad/well_written.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ afterAll(() => app.close());
1818

1919
test("adding items to a cart", async () => {
2020
const initialItemsResponse = await getItems("lucas");
21-
expect(initialItemsResponse.status).toEqual(404);
21+
expect(initialItemsResponse.status).toBe(404);
2222

2323
const addItemResponse = await addItem("lucas", "cheesecake");
2424
expect(await addItemResponse.json()).toEqual(["cheesecake"]);

0 commit comments

Comments
 (0)