Fix unit tests
This commit is contained in:
parent
b2dfe2fef9
commit
68b1223014
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import { createTestingPinia } from '@pinia/testing';
|
|||
import { AppointmentTypeStrings } from '@/constants/schedule-constants';
|
||||
import navigationScenarios from '@/router/router-constants/navigation-scenarios';
|
||||
import routerParams from '@/router/router-constants/router-params';
|
||||
import { getPricedMobileFeePart } from '@/helpers/service-location-helper';
|
||||
import { useMainStore } from '@/store';
|
||||
import serviceLocation from '@/layouts/schedule-page/service-location/service-location.vue';
|
||||
|
||||
|
|
@ -87,7 +88,8 @@ jest.mock(
|
|||
'@/helpers/service-location-helper',
|
||||
() => ({
|
||||
getZipCodeData: jest.fn((mockServiceZipCode) => mockZipcodeData(mockServiceZipCode)),
|
||||
getMobileZipCodeData: jest.fn((mockServiceZipCode) => mockZipcodeData(mockServiceZipCode))
|
||||
getMobileZipCodeData: jest.fn((mockServiceZipCode) => mockZipcodeData(mockServiceZipCode)),
|
||||
getPricedMobileFeePart: jest.fn(() => Promise.resolve(null))
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue