diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 15:12:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 15:12:10 +0300 |
commit | 9c5341dd0832c3af377191c461c800e1aa048b10 (patch) | |
tree | e1343570ed06960c320200c8a35f2675a6ec2b48 /jest.config.base.js | |
parent | 46f35a616740504125aaf2c7d20a8bc7ff755ec1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r-- | jest.config.base.js | 5 |
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', }; }; |