diff --git a/src/config/jest.config.js b/src/config/jest.config.js index 5edba565..7f61a69d 100644 --- a/src/config/jest.config.js +++ b/src/config/jest.config.js @@ -47,7 +47,7 @@ if (hasFile('tests/setup-env.js')) { } if (useBuiltInBabelConfig) { - jestConfig.transform = {'^.+\\.js$': here('./babel-transform')} + jestConfig.transform = {'^.+\\.(js|jsx|ts|tsx)$': here('./babel-transform')} } module.exports = jestConfig