unit test fixes
This commit is contained in:
parent
52688f7baa
commit
185d6744a5
3 changed files with 9 additions and 4 deletions
|
|
@ -110,7 +110,8 @@ describe('address-lookup.vue', () => {
|
|||
vinVehicles: [
|
||||
{
|
||||
vehicle: {
|
||||
carId: 'C00000'
|
||||
carId: 'C00000',
|
||||
canSafeliteService: true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -144,7 +145,8 @@ describe('address-lookup.vue', () => {
|
|||
vinVehicles: [
|
||||
{
|
||||
vehicle: {
|
||||
carId: 'C00000'
|
||||
carId: 'C00000',
|
||||
canSafeliteService: true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -275,7 +277,8 @@ describe('address-lookup.vue', () => {
|
|||
vinVehicles: [
|
||||
{
|
||||
vehicle: {
|
||||
carId: 'C11111'
|
||||
carId: 'C11111',
|
||||
canSafeliteService: true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ function setupMocks({
|
|||
data: lookupVinByPlateResponse || {
|
||||
vin: 'TEST_VIN',
|
||||
vehicle: {
|
||||
carId: 'CARID'
|
||||
carId: 'CARID',
|
||||
canSafeliteService: true
|
||||
}
|
||||
},
|
||||
error: vinLookupResponseError
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ function setupMocks() {
|
|||
wrapper.vm.setCmsContent = baseMixin.methods.setCmsContent;
|
||||
wrapper.vm.$refs.siteFooter.updateButtonText = jest.fn();
|
||||
wrapper.vm.$refs.siteFooter.removeLoader = jest.fn();
|
||||
wrapper.vm.$refs.siteFooter.disableForwardButton = jest.fn();
|
||||
return { wrapper };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue