From 827366d6be3019db817d34074d0d04e8869aa72a Mon Sep 17 00:00:00 2001 From: telesoho Date: Thu, 29 Aug 2024 10:46:18 +0800 Subject: [PATCH] ci: add --detectOpenHandles option for test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 96cf9be..335a632 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json", "clean": "node tools/cleanup", "package": "npm run build && npm pack", - "test": "jest --no-cache --forceExit --runInBand", + "test": "jest --no-cache --forceExit --runInBand --detectOpenHandles", "test:cov": "jest --coverage --forceExit --no-cache --runInBand", "addscope": "node tools/packagejson name @telesoho/xclip" },