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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-26 22:49:05 +0300
committerWinnie Hellmann <winnie@gitlab.com>2019-03-26 22:49:05 +0300
commitfbe1f8b4cb7cfca5aa6a6a1cd36600e77f52cf68 (patch)
tree1344ab2ccb9940147013f08c3a2a3ea1b4c358d0 /jest.config.js
parentf9f5ebc2ac751ceb288381d1792aecec43bdbe39 (diff)
Provide custom Jest environment with mocked 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 1f6e04390ae..cd0d311779d 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -37,4 +37,5 @@ module.exports = {
},
transformIgnorePatterns: ['node_modules/(?!(@gitlab/ui)/)'],
timers: 'fake',
+ testEnvironment: '<rootDir>/spec/frontend/environment.js',
};