diff options
author | Sarah German <sgerman@gitlab.com> | 2022-08-12 01:50:03 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-08-12 16:32:37 +0300 |
commit | e5b263836bfd5529adbce1e8afc2fdc2dd65193c (patch) | |
tree | 6214f0c153070e0748dd96b1359f3305e28a3033 /jest.config.js | |
parent | cfca6c78d0ad0176f32401b50dc823c9b19cd3e1 (diff) |
Fail Jest tests if warnings or errors are logged to the console
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js index df2dfd9d..bb73777d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -15,4 +15,5 @@ module.exports = { transformIgnorePatterns: [ 'node_modules/(?!(@gitlab/(ui|svgs)|bootstrap-vue|vue-instantsearch|instantsearch.js)/)', ], + setupFilesAfterEnv: ['<rootDir>/spec/frontend/jest.overrides.js'], }; |