diff options
Diffstat (limited to 'server/sonar-web/jest.config.js')
-rw-r--r-- | server/sonar-web/jest.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/jest.config.js b/server/sonar-web/jest.config.js index 0dd90fb7d1d..626b2d66495 100644 --- a/server/sonar-web/jest.config.js +++ b/server/sonar-web/jest.config.js @@ -26,7 +26,7 @@ module.exports = { testPathIgnorePatterns: ['<rootDir>/config', '<rootDir>/node_modules', '<rootDir>/scripts'], testRegex: '(/__tests__/.*|\\-test)\\.(ts|tsx|js)$', transform: { - '^.+\\.tsx?$': [ + '^.+\\.(t|j)sx?$': [ '@swc/jest', { jsc: { @@ -35,6 +35,7 @@ module.exports = { } ] }, + transformIgnorePatterns: ['/node_modules/(?!(d3-.+))/'], reporters: [ 'default', [ |