Add vendor/ to Jest aliases
This commit is contained in:
parent
ee74f7b8e5
commit
948df0e383
1 changed files with 1 additions and 0 deletions
|
@ -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/',
|
||||
|
|
Loading…
Reference in a new issue