unit test fix

This commit is contained in:
Katie Kroell 2026-03-16 13:21:21 -04:00
parent adbaa7d0ca
commit 7b112e0c3d
2 changed files with 3 additions and 2 deletions

View file

@ -144,7 +144,8 @@ describe('address-vehicles.vue', () => {
const { wrapper } = setupMocks({});
const lookupVinResponse = {
data: {
carId: '456'
carId: '456',
canSafeliteService: true
}
};

View file

@ -236,7 +236,7 @@ export default {
if (!vinLookup) {
return;
}
if (!vinLookup.data?.canSafeliteService) {
if (vinLookup.data?.canSafeliteService === false) {
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vinLookup.data.carId));
this.$router.navigate(
this.navigationScenarios.BAILOUT,