CASH-291
CASH-291 fix tests
This commit is contained in:
parent
eedcf4dfdd
commit
8e53442d93
2 changed files with 9 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ jest.mock("@/mixins/base-mixin", () => ({
|
|||
filterOutFees(items) {
|
||||
return null;
|
||||
},
|
||||
filterOutServicePackageDiscountPart(items) {
|
||||
return null;
|
||||
},
|
||||
isFormValid(form) {
|
||||
return true;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -18,6 +18,11 @@ import { nextTick } from "vue";
|
|||
jest.mock("@/store", () => ({
|
||||
commit: jest.fn(),
|
||||
dispatch: jest.fn(),
|
||||
getters: {
|
||||
applicationUser: {
|
||||
loggingOption: false,
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
||||
const mockExperimentSettings = experimentSettings;
|
||||
|
|
@ -846,6 +851,7 @@ function setupMocks({ mountOptionsMockData, props = mockProps }) {
|
|||
},
|
||||
},
|
||||
};
|
||||
|
||||
mountOptionsMockData = Object.assign(mountOptionsMockDataDefault, mountOptionsMockData);
|
||||
const mountOptions = getMountOptions(mountOptionsMockData);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue