summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-02-25 21:54:46 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-02-27 09:08:41 +0100
commitfb23a411d1c42c6264f8e827009c99808948903b (patch)
treea7a89c48238c28e356ced3446164f7810e980387
parent4be7be6dbc3cf0ed6b86d36712713458a04a1d90 (diff)
downloadgitlab-ce-fb23a411d1c42c6264f8e827009c99808948903b.tar.gz
Add fixtures path to Jest config
-rw-r--r--jest.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index 5ee56b244c7..225f01de303 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -18,6 +18,7 @@ module.exports = {
moduleNameMapper: {
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
'^ee(.*)$': '<rootDir>/ee/app/assets/javascripts$1',
+ '^fixtures(.*)$': '<rootDir>/spec/javascripts/fixtures$1',
'^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1',
'^vendor(.*)$': '<rootDir>/vendor/assets/javascripts$1',
'\\.(jpg|jpeg|png|svg)$': '<rootDir>/spec/frontend/__mocks__/file_mock.js',