From ca9058d4f50e04d80ce720a0e98b22b2425ca9c1 Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Tue, 28 May 2024 16:34:35 +0800 Subject: [PATCH] tests: add .tsx to transforms --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 3e3ba700..4f3704de 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,7 +4,7 @@ module.exports = { testRegex: '(/tests/)(.*?)(Tests?)(\\.[jt]s)$', transform: { - '^.+\\.ts?$': [ 'ts-jest', { + '^.+\\.tsx?$': [ 'ts-jest', { tsconfig: '/tsconfig.tests.json' } ] },