diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2022-02-21 14:27:12 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-03-07 20:02:55 +0000 |
commit | d8530e0208081d06def14e861d3aa7bd5965d797 (patch) | |
tree | 7876cd7f4993bb28d86c399d3f93698c97b446e4 /server/sonar-web/jest.config.js | |
parent | b90268c5cd663d677a4f0254c919e34cba67de5a (diff) | |
download | sonarqube-d8530e0208081d06def14e861d3aa7bd5965d797.tar.gz sonarqube-d8530e0208081d06def14e861d3aa7bd5965d797.zip |
[NO JIRA] Setup react testing library
Diffstat (limited to 'server/sonar-web/jest.config.js')
-rw-r--r-- | server/sonar-web/jest.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/jest.config.js b/server/sonar-web/jest.config.js index 7feb2548c0a..9a61829902a 100644 --- a/server/sonar-web/jest.config.js +++ b/server/sonar-web/jest.config.js @@ -20,6 +20,7 @@ module.exports = { '<rootDir>/config/jest/SetupEnzyme.js', '<rootDir>/config/jest/SetupTestEnvironment.ts' ], + setupFilesAfterEnv: ['<rootDir>/config/jest/SetupReactTestingLibrary.js'], snapshotSerializers: ['enzyme-to-json/serializer', 'jest-emotion'], testEnvironment: 'jsdom', testPathIgnorePatterns: ['<rootDir>/config', '<rootDir>/node_modules', '<rootDir>/scripts'], |