fix(test): downgrade jest to 23

This commit is contained in:
Clark Du 2019-01-28 15:11:30 +00:00
parent 43d6ac8864
commit d88e448805
4 changed files with 236 additions and 512 deletions

View File

@ -24,7 +24,7 @@ steps:
displayName: 'Test: Build Fixtures'
- script: |
set JEST_JUNIT_OUTPUT=test-unit-junit.xml && set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:unit -i
set JEST_JUNIT_OUTPUT=test-unit-junit.xml && set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:unit -w=2
displayName: 'Test: Run unit tests'
- task: PublishTestResults@2

View File

@ -9,7 +9,8 @@ module.exports = {
// But its performance overhead is pretty bad (30+%).
// detectOpenHandles: true
setupFilesAfterEnv: ['./test/utils/setup'],
// setupFilesAfterEnv: ['./test/utils/setup'],
setupTestFrameworkScriptFile: './test/utils/setup',
coverageDirectory: './coverage',

View File

@ -30,7 +30,7 @@
"@nuxtjs/eslint-config": "^0.0.1",
"babel-core": "^7.0.0-bridge",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.0.0",
"babel-jest": "^23.6.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
"cheerio": "^1.0.0-rc.2",
"codecov": "^3.1.0",
@ -53,7 +53,7 @@
"fs-extra": "^7.0.1",
"get-port": "^4.1.0",
"glob": "^7.1.3",
"jest": "^24.0.0",
"jest": "^23.6.0",
"jest-junit": "^6.1.0",
"jsdom": "^13.2.0",
"klaw-sync": "^6.0.0",

739
yarn.lock

File diff suppressed because it is too large Load Diff