Skip to content

Commit

Permalink
Fix unit test due to previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluiz committed Dec 12, 2019
1 parent 4637cbd commit 16d9ab5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ describe('AddToCartForm.vue', () => {
mocks: { $t: jest.fn() },
store: new Vuex.Store({ actions }),
propsData: { sku: 'some-sku' },
computed: { currency: () => 'EUR' },
computed: {
currency: () => 'EUR',
isLoading: jest.fn(),
},
methods: {
createMyCart: jest.fn(() => Promise.resolve({})),
updateMyCart: jest.fn(() => Promise.resolve({})),
Expand Down

0 comments on commit 16d9ab5

Please sign in to comment.