CSR-5505 | Fixing unit tests for gif test

This commit is contained in:
Scott Kiener 2022-05-19 09:48:46 -04:00
parent 97f9f29005
commit bfa2e96f52
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ jest.mock(
jest.mock('@/assets/img/loader.gif', () => 'loader.gif')
jest.mock('@/assets/img/windshield.png', () => 'windshield.png')
jest.mock('@/assets/img/wiper-loader.gif', () => 'windshield.png')
describe("loadingModal", () => {
test("showModal sets modal visible", async () => {

View file

@ -13,6 +13,7 @@ import store from "@/store";
jest.mock('@/assets/img/loader.gif', () => 'loader.gif')
jest.mock('@/assets/img/windshield.png', () => 'windshield.png')
jest.mock('@/assets/img/wiper-loader.gif', () => 'windshield.png')
// Mock our module for promises.
jest.mock("@/helpers/layout-helper.js", () => ({