Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-08-12 01:50:03 +0300
committerSarah German <sgerman@gitlab.com>2022-08-12 16:32:37 +0300
commite5b263836bfd5529adbce1e8afc2fdc2dd65193c (patch)
tree6214f0c153070e0748dd96b1359f3305e28a3033 /jest.config.js
parentcfca6c78d0ad0176f32401b50dc823c9b19cd3e1 (diff)
Fail Jest tests if warnings or errors are logged to the console
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js1
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'],
};