Added missed required reference to store
This commit is contained in:
parent
e9921a5132
commit
31ba6f361a
2 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { storeActions } from "@/constants/store-actions.js";
|
||||
import store from "@/store";
|
||||
import vehicleQuestionsMixin from "@/mixins/vehicle-questions-mixin";
|
||||
import { saveOrder } from "@/helpers/heritage-integration/order-helper.js";
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,12 @@ function setupMocks({ partsOrQuestions = [] }) {
|
|||
navigate: jest.fn(), navigateWithSaving: jest.fn(), navigateWithoutSaving: jest.fn(),
|
||||
},
|
||||
store: {
|
||||
commit: jest.fn()
|
||||
commit: jest.fn(),
|
||||
getters: {
|
||||
applicationUser: {
|
||||
savedSessionId: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue