diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 14:25:39 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 14:25:39 +0100 |
commit | 948df0e383d4d39f74e75e5c3b42b08f54eb82af (patch) | |
tree | de8dc3e2332ef56ddc3cebd78af93785bf55c314 /jest.config.js | |
parent | ee74f7b8e5a4a4bdc84a2d50bd34a7bfa6463a3f (diff) | |
download | gitlab-ce-948df0e383d4d39f74e75e5c3b42b08f54eb82af.tar.gz |
Add vendor/ to Jest aliases
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 4dab7c2891a..351ea738be9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,6 +18,7 @@ module.exports = { moduleNameMapper: { '^~(.*)$': '<rootDir>/app/assets/javascripts$1', '^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1', + '^vendor(.*)$': '<rootDir>/vendor/assets/javascripts$1', }, collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'], coverageDirectory: '<rootDir>/coverage-frontend/', |