From d8fa7d7873d88cb2a9719daa87a10e3be42309b2 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Sun, 11 Feb 2024 01:00:33 +0100 Subject: [PATCH] Fix imports.. --- webAO/components/__tests__/blips.test.js | 2 +- webAO/utils/__tests__/tryUrls.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webAO/components/__tests__/blips.test.js b/webAO/components/__tests__/blips.test.js index dc90416b..310bc45f 100644 --- a/webAO/components/__tests__/blips.test.js +++ b/webAO/components/__tests__/blips.test.js @@ -1,4 +1,4 @@ -import createBlip from '../blip'; +import createBlip from '../blip.js'; describe('createBlip', () => { test('create 3 blips audios', () => { diff --git a/webAO/utils/__tests__/tryUrls.test.ts b/webAO/utils/__tests__/tryUrls.test.ts index e83676dd..d7375d5d 100644 --- a/webAO/utils/__tests__/tryUrls.test.ts +++ b/webAO/utils/__tests__/tryUrls.test.ts @@ -1,7 +1,7 @@ import fileExists from '../fileExists.js' import tryUrls from '../tryUrls.js'; import transparentPng from '../../constants/transparentPng.js' -jest.mock('../fileExists') +jest.mock('../fileExists.ts') const mockFileExists = fileExists as jest.MockedFunction;