Skip to content

Commit

Permalink
Fix: include all src files when running yarn coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Laityned committed Jun 3, 2022
1 parent cc29d02 commit 4abc8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -15,7 +15,7 @@
"yarn": ">=1"
},
"scripts": {
"coverage": "nyc --reporter=lcov --reporter=text yarn test",
"coverage": "nyc --all --include='src/**/*[.js|.jsx|.ts|.tsx]' --reporter=lcov --reporter=text yarn test",
"test": "mocha -r @babel/register -r @babel/polyfill --recursive test/*.test.js test/**/*.test.js",
"test:cli": "yarn -s build && ./bin/cli.js -c test/cli/i18next-parser.config.js",
"watch": "babel src -d dist -w",
Expand Down

0 comments on commit 4abc8d5

Please sign in to comment.