From 489ee827866184ca722aeb1347d7e0f74f3541b8 Mon Sep 17 00:00:00 2001 From: frederikprijck Date: Sat, 29 Jul 2023 15:54:12 +0200 Subject: [PATCH] fix tests --- jest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jest.config.ts b/jest.config.ts index 61b4ecf..0b65960 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -11,6 +11,9 @@ const jestConfig: JestConfigWithTsJest = { "default", ["jest-junit", { outputDirectory: "test-results/jest" }], ], + moduleNameMapper: { + '^(\\.{1,2}/.*)\\.js$': '$1', + }, coverageReporters: ["lcov", "text", "text-summary"], setupFiles: [], preset: "ts-jest/presets/default-esm",