Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chapter2/2_unit_tests/3_jest_multiple_tests/Cart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test("The addToCart function can add an item to the cart", () => {
assert.deepStrictEqual(cart.items, ["cheesecake"]);
});

test("The addToCart function can add an item to the cart", () => {
test("The removeFromCart function can remove an item from the cart", () => {
const cart = new Cart();
cart.addToCart("cheesecake");
cart.removeFromCart("cheesecake");
Expand Down