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:
authorLukas Eipert <leipert@gitlab.com>2019-02-28 14:34:47 +0300
committerLukas Eipert <leipert@gitlab.com>2019-02-28 14:36:29 +0300
commitc151cebaaa9d8cc779a09eee87ddf57ff0653a59 (patch)
tree86942f0b3d5fa68b724b5f55f3751ed3416be75b /jest.config.js
parent40ec172f75c0c2161c74414c387c802396563ca8 (diff)
Upgrade jest and related dependencies
This removes other outdated babel@6 dependencies as well. Unfortunately the newer version of vue-jest has a dependency of an older version of ts-jest. In order to satisfy the peerDependency from ts-jest, we are forcing the version@24. The only "breaking" change from ts-jest 23->24 is that it requires a newer version of jest. This might be obsolete soon, as vue-jest plans on switching to babel eventually.
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index 225f01de303..4e346005b8a 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -29,7 +29,7 @@ module.exports = {
cacheDirectory: '<rootDir>/tmp/cache/jest',
modulePathIgnorePatterns: ['<rootDir>/.yarn-cache/'],
reporters,
- setupTestFrameworkScriptFile: '<rootDir>/spec/frontend/test_setup.js',
+ setupFilesAfterEnv: ['<rootDir>/spec/frontend/test_setup.js'],
restoreMocks: true,
transform: {
'^.+\\.(gql|graphql)$': 'jest-transform-graphql',