From e640ff292c8b1507a1019764a75fe059c3ee7417 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 3 May 2022 13:14:26 -0400 Subject: [PATCH] Fixing routing table and creating unit tests --- .../license-plate-lookup.spec.js | 2 +- src/router/router-constants/routing-table.js | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/layouts/license-plate-lookup/license-plate-lookup.spec.js b/src/layouts/license-plate-lookup/license-plate-lookup.spec.js index 5a8fa5fab..d7f51de66 100644 --- a/src/layouts/license-plate-lookup/license-plate-lookup.spec.js +++ b/src/layouts/license-plate-lookup/license-plate-lookup.spec.js @@ -33,10 +33,10 @@ jest.mock("@/store", () => ({ serviceLocation: {zip: "11111"}, }, vehicle: { + carId: "TESTID", registration: { licensePlate: "TESTPLATE", zipCode: "12345", - carId: "TESTID" }, }, eventBusItem: jest.fn(), diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js index 3290c43eb..83d2c57de 100644 --- a/src/router/router-constants/routing-table.js +++ b/src/router/router-constants/routing-table.js @@ -137,18 +137,6 @@ const routingTable = [ scenario: navigationScenarios.CLICKED_BACK, destinationFmgPageValue: fmgPageValues.ESTIMATE, }, - { - scenario: navigationScenarios.CONTINUING_WITH_PARTS_QUESTION, - destinationFmgPageValue: fmgPageValues.PART_QUESTIONS, - }, - { - scenario: navigationScenarios.CONTINUING_WITH_MULTIPLE_PARTS, - destinationFmgPageValue: fmgPageValues.VEHICLE_PARTS, - }, - { - scenario: navigationScenarios.CONTINUING_WITH_SINGLE_PART, - destinationFmgPageValue: fmgPageValues.REVEAL, - }, { scenario: navigationScenarios.CLICKED_FORWARD, destinationFmgPageValue: fmgPageValues.VEHICLE_DAMAGE,