Commit 54ae133b authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'winh-jest-test_constants-alias' into 'master'

Define alias spec/test_constants in Jest

See merge request !16943
parents bc95636d bec35b5c
Pipeline #82912082 failed with stages
in 65 minutes and 19 seconds
......@@ -41,6 +41,7 @@ module.exports = {
'^vendor(/.*)$': '<rootDir>/vendor/assets/javascripts$1',
'\\.(jpg|jpeg|png|svg)$': '<rootDir>/spec/frontend/__mocks__/file_mock.js',
'emojis(/.*).json': '<rootDir>/fixtures/emojis$1.json',
'^spec/test_constants$': '<rootDir>/spec/frontend/helpers/test_constants',
collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'],
coverageDirectory: '<rootDir>/coverage-frontend/',
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment