mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 23:21:09 +00:00
fix: tests failed in windows
turn on runInBand before https://github.com/facebook/jest/issues/7709 gets solved
This commit is contained in:
parent
f18ce4e5d4
commit
8163a9e0e0
@ -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 -w=2
|
set JEST_JUNIT_OUTPUT=test-unit-junit.xml && set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:unit -i
|
||||||
displayName: 'Test: Run unit tests'
|
displayName: 'Test: Run unit tests'
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
@ -9,7 +9,7 @@ module.exports = {
|
|||||||
// But its performance overhead is pretty bad (30+%).
|
// But its performance overhead is pretty bad (30+%).
|
||||||
// detectOpenHandles: true
|
// detectOpenHandles: true
|
||||||
|
|
||||||
setupTestFrameworkScriptFile: './test/utils/setup',
|
setupFilesAfterEnv: './test/utils/setup',
|
||||||
|
|
||||||
coverageDirectory: './coverage',
|
coverageDirectory: './coverage',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user