Skip to content

Commit 002a742

Browse files
committed
update readme
1 parent 45e8a17 commit 002a742

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,15 @@ module.exports = (on, config) => {
374374
}
375375
```
376376

377+
**Tip:** we include [plugins.js](plugins.js) file you can point at from your code in simple cases. From your `cypress.json` file:
378+
379+
```json
380+
{
381+
"pluginsFile": "node_modules/@cypress/code-coverage/plugins",
382+
"supportFile": "node_modules/@cypress/code-coverage/support"
383+
}
384+
```
385+
377386
## Debugging
378387

379388
This plugin uses [debug](https://github.com/visionmedia/debug) module to output additional logging messages from its [task.js](task.js) file. This can help with debugging errors while saving code coverage or reporting. In order to see these messages, run Cypress from the terminal with environment variable `DEBUG=code-coverage`. Example using Unix syntax to set the variable:

0 commit comments

Comments
 (0)