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-08-01 15:12:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-01 15:12:10 +0300
commit9c5341dd0832c3af377191c461c800e1aa048b10 (patch)
treee1343570ed06960c320200c8a35f2675a6ec2b48 /jest.config.base.js
parent46f35a616740504125aaf2c7d20a8bc7ff755ec1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r--jest.config.base.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jest.config.base.js b/jest.config.base.js
index 5f6bf5d894f..dc35291d905 100644
--- a/jest.config.base.js
+++ b/jest.config.base.js
@@ -173,17 +173,18 @@ module.exports = (path, options = {}) => {
'^.+\\.(gql|graphql)$': 'jest-transform-graphql',
'^.+_worker\\.js$': './spec/frontend/__helpers__/web_worker_transformer.js',
'^.+\\.js$': 'babel-jest',
- '^.+\\.vue$': 'vue-jest',
+ '^.+\\.vue$': '@vue/vue2-jest',
'spec/frontend/editor/schema/ci/yaml_tests/.+\\.(yml|yaml)$':
'./spec/frontend/__helpers__/yaml_transformer.js',
'^.+\\.(md|zip|png|yml|yaml)$': 'jest-raw-loader',
},
transformIgnorePatterns: [`node_modules/(?!(${transformIgnoreNodeModules.join('|')}))`],
- timers: 'fake',
+ timers: 'legacy',
testEnvironment: '<rootDir>/spec/frontend/environment.js',
testEnvironmentOptions: {
IS_EE,
IS_JH,
},
+ testRunner: 'jest-jasmine2',
};
};