CASH-1428 - Fixed unit test
This commit is contained in:
parent
f4da6c9bad
commit
af0f9c2bd8
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ import { getMountOptions } from "@/helpers/unit-test-helper.js";
|
|||
import store from "@/store";
|
||||
import { experimentSettings } from "@/constants/experiments";
|
||||
|
||||
global.crypto = {
|
||||
randomUUID: jest.fn()
|
||||
};
|
||||
// Mock our module for promises.
|
||||
jest.mock("@/helpers/layout-helper.js", () => ({
|
||||
settleAllPromises: jest.fn(),
|
||||
|
|
@ -81,7 +84,10 @@ function setupMocks() {
|
|||
city: "Anytown",
|
||||
state: "OH",
|
||||
zipCode: "00000",
|
||||
provider: { providerNumber: "0000567"}
|
||||
},
|
||||
vehicle: { year: 2020, make: "Toyota", model: "Camry", carId:"12345" },
|
||||
damage: {isRepair: false}
|
||||
},
|
||||
policy: {
|
||||
currentDeductible: 123,
|
||||
|
|
|
|||
Loading…
Reference in a new issue