From 04d2aa8b9afa45fd140361ee56018599c952f453 Mon Sep 17 00:00:00 2001 From: Uros Smolnik Date: Fri, 12 Feb 2021 08:23:40 -0800 Subject: [PATCH] Add test covering withFilter memory leak fix: 2nd try --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6dd1eca..edeb857 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "posttest": "npm run lint", "lint": "tslint --project ./tsconfig.json ./src/**/*.ts", "watch": "tsc -w", - "testonly": "mocha --expose-gc --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js", + "testonly": "node --expose-gc ./node_modules/.bin/mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js", "coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js", "postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info", "prepublishOnly": "npm run clean && npm run compile"