From 3f354926d1cf8aee392bbcc1c263163cf328786a Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Wed, 23 Oct 2024 15:27:12 -0500 Subject: [PATCH] Add Detect Open Handles Flag for Ci Tests --- sdk/js-query/package.json | 2 +- sdk/js/package.json | 2 +- spydk/js/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/js-query/package.json b/sdk/js-query/package.json index 93e07cc602..9b0e9e1bb6 100644 --- a/sdk/js-query/package.json +++ b/sdk/js-query/package.json @@ -11,7 +11,7 @@ ], "scripts": { "test": "jest --verbose", - "test-ci": "jest --verbose --setupFiles ./ci-config.js --forceExit", + "test-ci": "jest --verbose --setupFiles ./ci-config.js --forceExit --detectOpenHandles", "build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && tsc -p tsconfig.types.json" }, "keywords": [ diff --git a/sdk/js/package.json b/sdk/js/package.json index f5f3ffd1d3..079999fdab 100644 --- a/sdk/js/package.json +++ b/sdk/js/package.json @@ -19,7 +19,7 @@ "build-all": "npm run build-deps && npm run build-lib", "docs": "typedoc src/index.ts", "test": "DEV=true NETWORK=DEVNET jest --verbose", - "test-ci": "NETWORK=DEVNET NEAR_NO_LOGS=true jest --verbose --setupFiles ./ci-config.js --forceExit", + "test-ci": "NETWORK=DEVNET NEAR_NO_LOGS=true jest --verbose --setupFiles ./ci-config.js --forceExit --detectOpenHandles", "test-relayer-mainnet": "ENV=mainnet NETWORK=MAINNET npx jest --verbose ./src/relayer/", "test-relayer-testnet": "ENV=testnet NETWORK=TESTNET npx jest --verbose ./src/relayer/", "build": "npm run build-all", diff --git a/spydk/js/package.json b/spydk/js/package.json index 04c36ffe5e..5c7d6f65b0 100644 --- a/spydk/js/package.json +++ b/spydk/js/package.json @@ -13,7 +13,7 @@ "build-lib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", "build-all": "npm run build-lib", "test": "jest --config jestconfig.json --verbose", - "test-ci": "jest --config jestconfig.json --verbose --setupFiles ./ci-config.js --forceExit", + "test-ci": "jest --config jestconfig.json --verbose --setupFiles ./ci-config.js --forceExit --detectOpenHandles", "build": "npm run build-all", "format": "echo \"disabled: prettier --write \"src/**/*.ts\"\"", "lint": "tslint -p tsconfig.json",