Provide custom Jest environment with mocked console

This commit is contained in:
Winnie Hellmann
2019-03-26 20:49:05 +01:00
parent f9f5ebc2ac
commit fbe1f8b4cb
2 changed files with 28 additions and 0 deletions

View File

@ -37,4 +37,5 @@ module.exports = {
},
transformIgnorePatterns: ['node_modules/(?!(@gitlab/ui)/)'],
timers: 'fake',
testEnvironment: '<rootDir>/spec/frontend/environment.js',
};