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
286
286
code-coverage saving coverage report using command: " nyc report --report-dir ./coverage --reporter=lcov --reporter=clover --reporter=json" +3ms
287
287
```
288
288
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
+
289
301
## License
290
302
291
303
This project is licensed under the terms of the [ MIT license] ( /LICENSE.md ) .
You can’t perform that action at this time.
0 commit comments