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:
authorWinnie Hellmann <winnie@gitlab.com>2019-02-21 16:25:39 +0300
committerWinnie Hellmann <winnie@gitlab.com>2019-02-21 16:25:39 +0300
commit948df0e383d4d39f74e75e5c3b42b08f54eb82af (patch)
treede8dc3e2332ef56ddc3cebd78af93785bf55c314 /jest.config.js
parentee74f7b8e5a4a4bdc84a2d50bd34a7bfa6463a3f (diff)
Add vendor/ to Jest aliases
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js1
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/',