File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,18 @@ $ DEBUG=code-coverage npm run dev
286286 code-coverage saving coverage report using command: " nyc report --report-dir ./coverage --reporter=lcov --reporter=clover --reporter=json" +3ms
287287```
288288
289+ ## Contributing
290+
291+ You can test changes locally by running tests and confirming the code coverage has been calculated and saved.
292+
293+ ``` shell
294+ npm run test:ci
295+ # now check generated coverage numbers
296+ npx nyc report --check-coverage true --lines 80
297+ npx nyc report --check-coverage true --lines 100 --include cypress/about.js
298+ npx nyc report --check-coverage true --lines 100 --include cypress/unit.js
299+ ```
300+
289301## License
290302
291303This project is licensed under the terms of the [ MIT license] ( /LICENSE.md ) .
You can’t perform that action at this time.
0 commit comments