diff options
-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/', |