Return exit code in Linux unit tests

Fixes #2681
This commit is contained in:
Daniel Imms
2020-02-03 07:00:06 -08:00
parent fbeb45d1da
commit 3d53847f30
+2
View File
@@ -27,7 +27,9 @@ jobs:
displayName: 'Install dependencies and build'
- script: |
yarn test-unit-coverage --forbid-only
EXIT_CODE=$?
./node_modules/.bin/nyc report --reporter=cobertura
exit $EXIT_CODE
displayName: 'Unit tests'
- script: yarn lint
displayName: 'Lint'