From dcb407bd935907e8402cbcb3d6bff95865860a0a Mon Sep 17 00:00:00 2001 From: Jesus Date: Thu, 1 Jun 2023 20:27:53 +0200 Subject: [PATCH] Update jest.config.js regex updated to target both ts and js files --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 31ad239..f62eed1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,7 +3,7 @@ module.exports = { '^.+\\.ts?$': 'ts-jest', }, testEnvironment: 'node', - testRegex: './src/.*\\.(test|spec)?\\.(ts|ts)$', + testRegex: './src/.*\\.(test|spec)?\\.(ts|js)$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], roots: ['/src'], };