mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(test): downgrade jest to 23
This commit is contained in:
parent
43d6ac8864
commit
d88e448805
@ -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
|
||||
|
@ -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',
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user