diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 15:10:00 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 15:10:00 +0000 |
commit | 8b1036168b0d395c379cbbaf457e256860147405 (patch) | |
tree | cd9f06daf5ef1f0f24137540bb1382d3e26c0bb6 /jest.config.base.js | |
parent | 52522f10237f685c2535e6511d632bacdc7f6a78 (diff) | |
download | gitlab-ce-8b1036168b0d395c379cbbaf457e256860147405.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r-- | jest.config.base.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jest.config.base.js b/jest.config.base.js index 26e7c8e8d18..34134d6983b 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -44,6 +44,9 @@ module.exports = (path, options = {}) => { const TEST_FIXTURES_PATTERN = 'test_fixtures(/.*)$'; const moduleNameMapper = { + // temporary alias until we replace all `flash` imports for `alert` + // https://gitlab.com/gitlab-org/gitlab/-/merge_requests/109449 + '^~/flash$': '<rootDir>/app/assets/javascripts/alert', '^~(/.*)\\?(worker|raw)$': '<rootDir>/app/assets/javascripts$1', '^(.*)\\?(worker|raw)$': '$1', '^~(/.*)$': '<rootDir>/app/assets/javascripts$1', |