From 08df9a1d472ece85ff086b18667f9ce7b3adf179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Fri, 11 Feb 2022 19:17:25 +0100 Subject: [PATCH] fix: increase timeout for tests --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3ee610af23..6d75e4e588 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ "test:docker": "./scripts/docker-postgres.sh", "test:docker:cleanup": "docker rm -f unleash-postgres", "test:watch": "yarn test --watch", - "test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --forceExit", - "test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit", + "test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --forceExit --testTimeout=10000", + "test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit --testTimeout=10000", "clean": "del-cli --force dist" }, "jest": {