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 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",