Skip to content

Commit

Permalink
chore: add check for lines, functions and branches, generate coverage…
Browse files Browse the repository at this point in the history
… only for src
  • Loading branch information
mihaur committed Oct 24, 2024
1 parent 78ddde5 commit 64e5986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"debug": "fastify start --debug --log-level info --log-level info --pretty-logs --watch src/app.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"unit": "node --test --experimental-test-coverage",
"unit": "node --test --experimental-test-coverage --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100 --test-coverage-include=src/**",
"coverage:lcov": "node --run unit -- --test-reporter=lcov --test-reporter-destination=lcov.info",
"test": "node --run lint && node --run unit",
"license-checker": "npx license-checker --production --onlyAllow='Apache-2.0;Apache-2.0 WITH LLVM-exception;MIT;ISC;BSD-3-Clause;BSD-2-Clause' --excludePackages 'buffers@0.1.1;event-stream@0.9.8;png-js@0.1.1'",
Expand Down

0 comments on commit 64e5986

Please sign in to comment.