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'
|
displayName: 'Test: Build Fixtures'
|
||||||
|
|
||||||
- script: |
|
- 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'
|
displayName: 'Test: Run unit tests'
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
@ -9,7 +9,8 @@ module.exports = {
|
|||||||
// But its performance overhead is pretty bad (30+%).
|
// But its performance overhead is pretty bad (30+%).
|
||||||
// detectOpenHandles: true
|
// detectOpenHandles: true
|
||||||
|
|
||||||
setupFilesAfterEnv: ['./test/utils/setup'],
|
// setupFilesAfterEnv: ['./test/utils/setup'],
|
||||||
|
setupTestFrameworkScriptFile: './test/utils/setup',
|
||||||
|
|
||||||
coverageDirectory: './coverage',
|
coverageDirectory: './coverage',
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"@nuxtjs/eslint-config": "^0.0.1",
|
"@nuxtjs/eslint-config": "^0.0.1",
|
||||||
"babel-core": "^7.0.0-bridge",
|
"babel-core": "^7.0.0-bridge",
|
||||||
"babel-eslint": "^10.0.1",
|
"babel-eslint": "^10.0.1",
|
||||||
"babel-jest": "^24.0.0",
|
"babel-jest": "^23.6.0",
|
||||||
"babel-plugin-dynamic-import-node": "^2.2.0",
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
||||||
"cheerio": "^1.0.0-rc.2",
|
"cheerio": "^1.0.0-rc.2",
|
||||||
"codecov": "^3.1.0",
|
"codecov": "^3.1.0",
|
||||||
@ -53,7 +53,7 @@
|
|||||||
"fs-extra": "^7.0.1",
|
"fs-extra": "^7.0.1",
|
||||||
"get-port": "^4.1.0",
|
"get-port": "^4.1.0",
|
||||||
"glob": "^7.1.3",
|
"glob": "^7.1.3",
|
||||||
"jest": "^24.0.0",
|
"jest": "^23.6.0",
|
||||||
"jest-junit": "^6.1.0",
|
"jest-junit": "^6.1.0",
|
||||||
"jsdom": "^13.2.0",
|
"jsdom": "^13.2.0",
|
||||||
"klaw-sync": "^6.0.0",
|
"klaw-sync": "^6.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user