From caf183fca190fd87780d0c4acf2269ab1ef0dc84 Mon Sep 17 00:00:00 2001 From: Vesa Laakso <482561+valscion@users.noreply.github.com> Date: Fri, 1 Oct 2021 18:15:53 +0300 Subject: [PATCH] Detect open handles and force exit jest --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dcb095ca..5e883bcf 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "npm-publish": "npm run lint && npm run build && npm test && npm publish", "lint": "eslint --ext js,jsx .", "install-test-webpack-versions": "./bin/install-test-webpack-versions.sh", - "test": "npm run install-test-webpack-versions && jest --runInBand", + "test": "npm run install-test-webpack-versions && jest --runInBand --detectOpenHandles --forceExit", "test-dev": "npm run install-test-webpack-versions && jest --watch --runInBand" }, "files": [