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:
Diffstat (limited to 'jest.config.integration.js')
-rw-r--r--jest.config.integration.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jest.config.integration.js b/jest.config.integration.js
index 0693a500990..919c299000b 100644
--- a/jest.config.integration.js
+++ b/jest.config.integration.js
@@ -23,6 +23,10 @@ module.exports = {
moduleNameMapperJH: {
'^jh_else_ce_test_helpers(/.*)$': '<rootDir>/jh/spec/frontend_integration/test_helpers$1',
},
+ // We need to include spec/frontend in `roots` for the __mocks__ to be found
+ roots: ['<rootDir>/spec/frontend_integration/', '<rootDir>/spec/frontend/'],
+ rootsEE: ['<rootDir>/ee/spec/frontend_integration/'],
+ rootsJH: ['<rootDir>/jh/spec/frontend_integration/'],
}),
fakeTimers: {
enableGlobally: false,