From 206ebb4d58dd87b55a93438e3ad3ff786da62f7b Mon Sep 17 00:00:00 2001 From: Hoang Mirs Date: Fri, 17 Feb 2023 21:42:01 +0700 Subject: [PATCH] [#165] Correct ts-jest config --- jest.config.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jest.config.js b/jest.config.js index 91de994d..f48b3849 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,9 +10,7 @@ module.exports = { '!src/**/*.d.ts', '!src/index.ts', ], - globals: { - "ts-jest": { - diagnostics: false - } - }, + transform: { + '^.+\\.ts$': ['ts-jest', { diagnostics: false }], + } };