diff options
author | guillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com> | 2023-05-23 12:37:05 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-07-03 20:03:12 +0000 |
commit | ca3437af74a2fcc7614107ed8d357a6fed06a8c1 (patch) | |
tree | 678888c5adefc26cddfc3a820cdeb2e82024e69b /server/sonar-web/jest.config.js | |
parent | f5c5733b597ab94266fbef226baff61e667223af (diff) | |
download | sonarqube-ca3437af74a2fcc7614107ed8d357a6fed06a8c1.tar.gz sonarqube-ca3437af74a2fcc7614107ed8d357a6fed06a8c1.zip |
[No JIRA] add jest-axe
Diffstat (limited to 'server/sonar-web/jest.config.js')
-rw-r--r-- | server/sonar-web/jest.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/jest.config.js b/server/sonar-web/jest.config.js index 58d840de95a..567f049d18d 100644 --- a/server/sonar-web/jest.config.js +++ b/server/sonar-web/jest.config.js @@ -19,7 +19,10 @@ module.exports = { '<rootDir>/config/jest/SetupTestEnvironment.ts', '<rootDir>/config/jest/SetupTheme.js', ], - setupFilesAfterEnv: ['<rootDir>/config/jest/SetupReactTestingLibrary.ts'], + setupFilesAfterEnv: [ + '<rootDir>/config/jest/SetupReactTestingLibrary.ts', + '<rootDir>/config/jest/SetupJestAxe.ts', + ], snapshotSerializers: ['enzyme-to-json/serializer', '@emotion/jest/serializer'], testEnvironment: 'jsdom', testPathIgnorePatterns: [ |