Merge pull request #477 from Safelite/feature/CSR-550

CSR-550 | Trying a gif
This commit is contained in:
scottkiener 2022-05-19 09:51:34 -04:00 committed by GitHub
commit 6e1d891f4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

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

@ -7,6 +7,9 @@
</div>
</section>
</div>
<div class="gif-test">
<img src="@/assets/img/wiper-loader.gif">
</div>
</div>
</template>

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", () => ({