summaryrefslogtreecommitdiff
path: root/config/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/jest.config.js')
-rw-r--r--config/jest.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/jest.config.js b/config/jest.config.js
index 23e62f49be1..e1b07f21555 100644
--- a/config/jest.config.js
+++ b/config/jest.config.js
@@ -16,6 +16,7 @@ module.exports = {
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'],
moduleNameMapper: {
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
+ '^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1',
},
collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'],
coverageDirectory: '<rootDir>/coverage-frontend/',