From de9c219cdf2eda12e2c6b98a864fff066ba1d079 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Wed, 31 Mar 2021 23:23:15 +0200 Subject: [PATCH] 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 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69f049786..e50f26b7d 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "test:watch": "jest --watch", "test:cov": "jest --coverage", "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:cov": "jest --config jest-e2e.json --coverage" + "test:e2e": "jest --config jest-e2e.json --runInBand", + "test:e2e:cov": "jest --config jest-e2e.json --coverage --runInBand" }, "dependencies": { "@azure/storage-blob": "12.5.0",