From 1ff2fa4ce04ec3cfff9621d6b2f0677cdb00047c Mon Sep 17 00:00:00 2001 From: Warrior-7 Date: Mon, 18 Mar 2024 16:48:58 +0330 Subject: [PATCH 1/2] solve mocha test coverage hanging problem --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 53fab54..cf32f15 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "madge": "npx madge --circular --extensions ts ./", "prettify": "prettier --write . --ignore-path ./.gitignore", "start": "ts-node --experimental-specifier-resolution=node ./src/index.ts", - "test": "NODE_ENV=\"test\" mocha --slow 3000", + "test": "NODE_ENV=\"test\" mocha --exit --slow 3000", "type-check": "tsc --noEmit", "typeorm:generate:sqlite": "npm run typeorm migration:generate ./src/database/migrations/sqlite/watcherMigration -- -p -d ./config/dataSource.ts", "typeorm:generate:postgres": "npm run typeorm migration:generate ./src/database/migrations/postgres/watcherMigration -- -p -d ./config/dataSource.ts", From 06ca590c216695da71eaf671b930573b8a08986f Mon Sep 17 00:00:00 2001 From: Warrior-7 Date: Mon, 18 Mar 2024 17:15:23 +0330 Subject: [PATCH 2/2] add changeset --- .changeset/tiny-bats-tan.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tiny-bats-tan.md diff --git a/.changeset/tiny-bats-tan.md b/.changeset/tiny-bats-tan.md new file mode 100644 index 0000000..b651ef2 --- /dev/null +++ b/.changeset/tiny-bats-tan.md @@ -0,0 +1,5 @@ +--- +'@rosen-bridge/watcher': patch +--- + +solve mocha test coverage hanging problem