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) {
|
filterOutFees(items) {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
|
filterOutServicePackageDiscountPart(items) {
|
||||||
|
return null;
|
||||||
|
},
|
||||||
isFormValid(form) {
|
isFormValid(form) {
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,11 @@ import { nextTick } from "vue";
|
||||||
jest.mock("@/store", () => ({
|
jest.mock("@/store", () => ({
|
||||||
commit: jest.fn(),
|
commit: jest.fn(),
|
||||||
dispatch: jest.fn(),
|
dispatch: jest.fn(),
|
||||||
|
getters: {
|
||||||
|
applicationUser: {
|
||||||
|
loggingOption: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const mockExperimentSettings = experimentSettings;
|
const mockExperimentSettings = experimentSettings;
|
||||||
|
|
@ -846,6 +851,7 @@ function setupMocks({ mountOptionsMockData, props = mockProps }) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
mountOptionsMockData = Object.assign(mountOptionsMockDataDefault, mountOptionsMockData);
|
mountOptionsMockData = Object.assign(mountOptionsMockDataDefault, mountOptionsMockData);
|
||||||
const mountOptions = getMountOptions(mountOptionsMockData);
|
const mountOptions = getMountOptions(mountOptionsMockData);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue