diff --git a/packages/web/jest.config.js b/packages/web/jest.config.js index a0f4c1e52..1de48c5b9 100644 --- a/packages/web/jest.config.js +++ b/packages/web/jest.config.js @@ -20,8 +20,11 @@ module.exports = { __WEB_VERSION__: '1.0.0', }, transform: { - '^.+\\.(ts|tsx)?$': 'ts-jest', + '^.+\\.(ts|tsx|js|jsx)?$': 'ts-jest', '\\.svg$': 'svg-jest', }, + transformIgnorePatterns: [ + 'node_modules/(?!(react-error-boundary)/)', + ], testEnvironment: 'jsdom', }