From ce11139ee4703805a41075fdb6175668f56e2236 Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Thu, 20 Jun 2024 18:11:59 +0200 Subject: [PATCH] fix(test): remove nyc, use jest coverage --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index e420ce8..329946b 100644 --- a/package.json +++ b/package.json @@ -72,11 +72,10 @@ "build": "npm-run-all lint build:clean build:es", "build:clean": "rimraf lib", "build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --tree-shaking=true --sourcemap=inline", - "lcov-report": "nyc report --reporter=lcov", "dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts", "lint": "eslint src --ext .ts", "test": "NODE_OPTIONS=--experimental-vm-modules cross-env NODE_ENV=test jest --detectOpenHandles --runInBand --testTimeout=40000 --forceExit", - "coverage": "c8 npm run test && npm run lcov-report", + "coverage": "c8 npm run test", "postinstall": "rm -rf ./node_modules/@josephg/resolvable/index.ts", "prepare": "node -e \"try { require('husky').install() } catch (e) {}\"" },