From ba2f671c79ac3c2aa19c769c3db56a27a7e0854f Mon Sep 17 00:00:00 2001 From: Charlie Lye Date: Wed, 18 Oct 2023 14:34:06 +0100 Subject: [PATCH] fix: Force jest to quit, otherwise CI can rack up to 3hrs of credits per job. (#2899) As title. Related to https://github.com/AztecProtocol/aztec-packages/issues/2896 --- yarn-project/end-to-end/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/end-to-end/package.json b/yarn-project/end-to-end/package.json index 1aec35f5b59..58960a8f48d 100644 --- a/yarn-project/end-to-end/package.json +++ b/yarn-project/end-to-end/package.json @@ -9,7 +9,7 @@ "clean": "rm -rf ./dest .tsbuildinfo", "formatting": "run -T prettier --check ./src \"!src/web/main.js\" && run -T eslint ./src", "formatting:fix": "run -T prettier -w ./src", - "test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --passWithNoTests --testTimeout=15000", + "test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --passWithNoTests --testTimeout=15000 --forceExit", "test:integration": "concurrently -k -s first -c reset,dim -n test,anvil \"yarn test:integration:run\" \"anvil\"", "test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json" },