unit test fixes

This commit is contained in:
Katie Kroell 2025-09-11 13:40:08 -04:00
parent 52688f7baa
commit 185d6744a5
3 changed files with 9 additions and 4 deletions

View file

@ -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
}
}
]

View file

@ -34,7 +34,8 @@ function setupMocks({
data: lookupVinByPlateResponse || {
vin: 'TEST_VIN',
vehicle: {
carId: 'CARID'
carId: 'CARID',
canSafeliteService: true
}
},
error: vinLookupResponseError

View file

@ -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 };
}