fix: tests failed in windows

turn on runInBand before https://github.com/facebook/jest/issues/7709 gets solved
This commit is contained in:
Clark Du 2019-01-28 13:32:07 +00:00
parent f18ce4e5d4
commit 8163a9e0e0
2 changed files with 2 additions and 2 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 -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'
- task: PublishTestResults@2

View File

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