CSR-98 Revert edit to navigation-helper

This commit is contained in:
Katie 2022-04-05 16:14:27 -04:00
parent f8b3fe8822
commit fc7cd2ebc1
2 changed files with 4 additions and 4 deletions

View file

@ -43,10 +43,10 @@ export async function getPageToRouteExistingOrderTo(toRoute = {}, existingHerita
return 'vehicle-damage' return 'vehicle-damage'
} else { } else {
if (store.getters.vehicle.vin) { if (store.getters.vehicle.vin) {
return 'heritage'; return 'vehicle-damage';
//return "vin-lookup"; (uncomment) //return "vin-lookup"; (uncomment)
} else { } else {
return 'heritage'; return 'vehicle-damage';
//return "estimate" (uncomment) //return "estimate" (uncomment)
} }
} }

View file

@ -229,7 +229,7 @@ describe("getPageToRouteExistingOrderTo", () => {
//Assert //Assert
//expect(result).toBe('vin-lookup'); //expect(result).toBe('vin-lookup');
expect(result).toBe('heritage'); expect(result).toBe('vehicle-damage');
}); });
test("getPageToRouteExistingOrderTo, should return estimate", async () => { test("getPageToRouteExistingOrderTo, should return estimate", async () => {
@ -285,7 +285,7 @@ describe("getPageToRouteExistingOrderTo", () => {
//Assert //Assert
//expect(result).toBe('estimate'); //expect(result).toBe('estimate');
expect(result).toBe('heritage'); expect(result).toBe('vehicle-damage');
}); });
test("getPageToRouteExistingOrderTo, existing order, should return heritage", async () => { test("getPageToRouteExistingOrderTo, existing order, should return heritage", async () => {