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>2023-03-15 15:13:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-15 15:13:34 +0300
commitb50c9d31e395afcab172d16760c5700c8cd5bcae (patch)
treeb491040bc4ab42122ec4dab7744e6e4f42276bd1 /jest.config.base.js
parent2cd5f04547dfda46005bae0969948174a2be72bd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r--jest.config.base.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jest.config.base.js b/jest.config.base.js
index 611853c019c..0897bc66b30 100644
--- a/jest.config.base.js
+++ b/jest.config.base.js
@@ -44,6 +44,7 @@ module.exports = (path, options = {}) => {
Object.assign(globals, {
'vue-jest': {
experimentalCSSCompile: false,
+ compiler: require.resolve('./config/vue3migration/compiler'),
compilerOptions: {
compatConfig: {
MODE: 2,
@@ -85,9 +86,6 @@ 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',