From 0dcd952a49906cca130fafb5d0cf18c7101e6012 Mon Sep 17 00:00:00 2001 From: Sebastian Friston Date: Wed, 22 Nov 2023 14:36:55 +0000 Subject: [PATCH] Fixed tsconfig for jest config (see https://github.com/jestjs/jest/issues/11453) --- Node/tsconfig.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Node/tsconfig.json b/Node/tsconfig.json index e113a353b..1a1f48c57 100644 --- a/Node/tsconfig.json +++ b/Node/tsconfig.json @@ -19,9 +19,14 @@ "include": [ "./app.ts", "./lib.ts", - "./jest.config.ts" + "jest.config.ts" ], "exclude": [ "node_modules" - ] + ], + "ts-node": { + "moduleTypes": { + "jest.config.ts": "cjs" + } + } } \ No newline at end of file