Fixing routing table and creating unit tests
This commit is contained in:
parent
e89cb1eeb3
commit
e640ff292c
2 changed files with 1 additions and 13 deletions
|
|
@ -33,10 +33,10 @@ jest.mock("@/store", () => ({
|
||||||
serviceLocation: {zip: "11111"},
|
serviceLocation: {zip: "11111"},
|
||||||
},
|
},
|
||||||
vehicle: {
|
vehicle: {
|
||||||
|
carId: "TESTID",
|
||||||
registration: {
|
registration: {
|
||||||
licensePlate: "TESTPLATE",
|
licensePlate: "TESTPLATE",
|
||||||
zipCode: "12345",
|
zipCode: "12345",
|
||||||
carId: "TESTID"
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
eventBusItem: jest.fn(),
|
eventBusItem: jest.fn(),
|
||||||
|
|
|
||||||
|
|
@ -137,18 +137,6 @@ const routingTable = [
|
||||||
scenario: navigationScenarios.CLICKED_BACK,
|
scenario: navigationScenarios.CLICKED_BACK,
|
||||||
destinationFmgPageValue: fmgPageValues.ESTIMATE,
|
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,
|
scenario: navigationScenarios.CLICKED_FORWARD,
|
||||||
destinationFmgPageValue: fmgPageValues.VEHICLE_DAMAGE,
|
destinationFmgPageValue: fmgPageValues.VEHICLE_DAMAGE,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue