Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Zavgorodny authored and Denis Zavgorodny committed Apr 19, 2019
1 parent 84eef39 commit decd7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('ES6 Recap Home Work', () => {
cart.add(Foo, 3);
cart.add(Bar, 2);
cart.remove(Foo);
expect(cart.items.length).toBe(2);
expect(cart.items.length).toBe(1);
});
test('We can change quantity items in cart', () => {
const cart = new ShopCart();
Expand Down

0 comments on commit decd7b1

Please sign in to comment.