CASH-185
CASH-185 fixed unit test in schedule.spec.js
This commit is contained in:
parent
4b5ee4ebc3
commit
748970b715
1 changed files with 2 additions and 0 deletions
|
|
@ -302,6 +302,7 @@ describe("schedule.vue...", () => {
|
||||||
days: [],
|
days: [],
|
||||||
};
|
};
|
||||||
wrapper.vm.updateFooterButtonText = jest.fn();
|
wrapper.vm.updateFooterButtonText = jest.fn();
|
||||||
|
wrapper.vm.setDisplayWaitList = jest.fn();
|
||||||
const nextFunction = jest.fn((c) => {
|
const nextFunction = jest.fn((c) => {
|
||||||
c(wrapper.vm);
|
c(wrapper.vm);
|
||||||
});
|
});
|
||||||
|
|
@ -336,6 +337,7 @@ describe("schedule.vue...", () => {
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
expect(wrapper.vm.updateFooterButtonText).toHaveBeenCalled();
|
expect(wrapper.vm.updateFooterButtonText).toHaveBeenCalled();
|
||||||
|
expect(wrapper.vm.setDisplayWaitList).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue