Skip to content

Commit

Permalink
chore: add c8 to get test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzoDOROSARIO committed Dec 14, 2024
1 parent 78b9ce2 commit a2a6538
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"watch": "tsc -w",
"dev": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch\" \"npm:dev:start\"",
"dev:start": "npm run build && fastify start --ignore-watch=.ts$ -w -l info -P dist/app.js",
"test": "npm run db:seed && glob -c \"tsx --test\" \"./test/**/*.integration.spec.ts\"",
"test": "npm run db:seed && npm run test:run",
"test:coverage": "npm run db:seed && c8 npm run test:run",
"test:run": "glob -c \"tsx --test\" \"./test/**/*.integration.spec.ts\"",
"standalone": "npm run build && node --env-file=.env dist/server.js",
"lint": "eslint --ignore-pattern=dist",
"lint:fix": "npm run lint -- --fix",
Expand Down Expand Up @@ -60,6 +62,7 @@
},
"devDependencies": {
"@types/node": "^22.5.5",
"c8": "^10.1.3",
"eslint": "^9.11.0",
"fastify-tsconfig": "^2.0.0",
"glob": "^11.0.0",
Expand Down

0 comments on commit a2a6538

Please sign in to comment.