diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-02-25 21:54:46 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-02-27 09:08:41 +0100 |
commit | fb23a411d1c42c6264f8e827009c99808948903b (patch) | |
tree | a7a89c48238c28e356ced3446164f7810e980387 /jest.config.js | |
parent | 4be7be6dbc3cf0ed6b86d36712713458a04a1d90 (diff) | |
download | gitlab-ce-fb23a411d1c42c6264f8e827009c99808948903b.tar.gz |
Add fixtures path to Jest config
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 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', |