CASH-462 | Pretter
This commit is contained in:
parent
2d9b59eab4
commit
d461576ddb
4 changed files with 7 additions and 8 deletions
|
|
@ -147,7 +147,7 @@ beforeEach(() => {
|
||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
store.getters = {
|
store.getters = {
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: []
|
experiments: [],
|
||||||
},
|
},
|
||||||
order: {
|
order: {
|
||||||
schedule: {
|
schedule: {
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ const mockMixin = {
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
store.getters = {
|
store.getters = {
|
||||||
applicationUser: {experiments: []},
|
applicationUser: { experiments: [] },
|
||||||
lineItems: {
|
lineItems: {
|
||||||
supportingItems: [
|
supportingItems: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ function resetMockStoreData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const applicationUser = {
|
const applicationUser = {
|
||||||
experiments: []
|
experiments: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
function applyMockStoreDataToGetters() {
|
function applyMockStoreDataToGetters() {
|
||||||
|
|
|
||||||
|
|
@ -140,11 +140,10 @@ function setupMocks({ experimentSettings }) {
|
||||||
{
|
{
|
||||||
isActive: true,
|
isActive: true,
|
||||||
isExposed: true,
|
isExposed: true,
|
||||||
settings: experimentSettings ?? testExperimentSettings
|
settings: experimentSettings ?? testExperimentSettings,
|
||||||
}
|
},
|
||||||
|
],
|
||||||
]
|
},
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const mockComponent = {
|
const mockComponent = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue