Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-01 15:09:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-01 15:09:35 +0300
commit4ee706fcd1ffcb2926fd9258e9f296c260a3d06c (patch)
tree47ef82efe01cd18bc0da6eb0922273aed9e060ea /jest.config.base.js
parent5a9468a4e504d06fd8f5a558f953f4af6355f702 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r--jest.config.base.js2
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',