PackageJson: Add --runInBand to test:e2e scripts

This ensures the e2e tests run in serially and never concurrently.

See https://jestjs.io/docs/cli#--runinband

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-31 23:23:15 +02:00
parent 70e7318180
commit 19d88e7e8c

View file

@ -20,8 +20,8 @@
"test:watch": "jest --watch", "test:watch": "jest --watch",
"test:cov": "jest --coverage", "test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config jest-e2e.json", "test:e2e": "jest --config jest-e2e.json --runInBand",
"test:e2e:cov": "jest --config jest-e2e.json --coverage" "test:e2e:cov": "jest --config jest-e2e.json --coverage --runInBand"
}, },
"dependencies": { "dependencies": {
"@azure/storage-blob": "12.5.0", "@azure/storage-blob": "12.5.0",