fix test
This commit is contained in:
parent
7774e64cbc
commit
9fb3be5f44
1 changed files with 3 additions and 0 deletions
|
|
@ -295,6 +295,9 @@ describe('schedule-page.vue', () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const { wrapper } = getShallowMountedComponent();
|
const { wrapper } = getShallowMountedComponent();
|
||||||
wrapper.vm.$router.navigate = jest.fn(() => ({}));
|
wrapper.vm.$router.navigate = jest.fn(() => ({}));
|
||||||
|
wrapper.vm.selectedTimeSlotInfo = {
|
||||||
|
id: 'test-id'
|
||||||
|
};
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
await wrapper.vm.forwardButtonAction();
|
await wrapper.vm.forwardButtonAction();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue