Skip to content

Commit 4440fbd

Browse files
authored
Merge pull request #12 from helderburato/patch-1
Update Cart.test.js
2 parents 902a1f0 + 73882f3 commit 4440fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter2/2_unit_tests/4_jest_assertions/Cart.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test("The addToCart function can add an item to the cart", () => {
77
expect(cart.items).toEqual(["cheesecake"]);
88
});
99

10-
test("The addToCart function can add an item to the cart", () => {
10+
test("The removeFromCart function can remove an item from the cart", () => {
1111
const cart = new Cart();
1212
cart.addToCart("cheesecake");
1313
cart.removeFromCart("cheesecake");

0 commit comments

Comments
 (0)