Setup Jest for EE
(cherry picked from commit e760abdb081e56d345e58c5a11a38f579b9fc43e)
This commit is contained in:
parent
ee74f7b8e5
commit
db583a3387
1 changed files with 2 additions and 1 deletions
|
@ -13,10 +13,11 @@ if (process.env.CI) {
|
|||
|
||||
// eslint-disable-next-line import/no-commonjs
|
||||
module.exports = {
|
||||
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'],
|
||||
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js', '<rootDir>/ee/spec/frontend/**/*_spec.js'],
|
||||
moduleFileExtensions: ['js', 'json', 'vue'],
|
||||
moduleNameMapper: {
|
||||
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
|
||||
'^ee(.*)$': '<rootDir>/ee/app/assets/javascripts$1',
|
||||
'^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1',
|
||||
},
|
||||
collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'],
|
||||
|
|
Loading…
Reference in a new issue