diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-03-26 20:49:05 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-03-26 20:49:05 +0100 |
commit | fbe1f8b4cb7cfca5aa6a6a1cd36600e77f52cf68 (patch) | |
tree | 1344ab2ccb9940147013f08c3a2a3ea1b4c358d0 /jest.config.js | |
parent | f9f5ebc2ac751ceb288381d1792aecec43bdbe39 (diff) | |
download | gitlab-ce-fbe1f8b4cb7cfca5aa6a6a1cd36600e77f52cf68.tar.gz |
Provide custom Jest environment with mocked 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 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', }; |