diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 15:09:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 15:09:35 +0300 |
commit | 4ee706fcd1ffcb2926fd9258e9f296c260a3d06c (patch) | |
tree | 47ef82efe01cd18bc0da6eb0922273aed9e060ea /jest.config.base.js | |
parent | 5a9468a4e504d06fd8f5a558f953f4af6355f702 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r-- | jest.config.base.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jest.config.base.js b/jest.config.base.js index 56473d1643f..0f77517a9e3 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -43,6 +43,8 @@ module.exports = (path, options = {}) => { const TEST_FIXTURES_PATTERN = 'test_fixtures(/.*)$'; const moduleNameMapper = { + '^~(/.*)\\?raw$': '<rootDir>/app/assets/javascripts$1', + '^(.*)\\?raw$': '$1', '^~(/.*)$': '<rootDir>/app/assets/javascripts$1', '^ee_component(/.*)$': '<rootDir>/app/assets/javascripts/vue_shared/components/empty_component.js', |