diff --git a/README.md b/README.md index a955fb67..1fe24f6e 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,7 @@ You can skip the client-side code coverage hooks by setting the environment vari # tell Cypress to set environment variable "coverage" to false cypress run --env coverage=false # or pass the environment variable -CYPRESS_coverage=false cypress run +CYPRESS_COVERAGE=false cypress run ``` or set it to `false` in the `cypress.json` file diff --git a/support.js b/support.js index 5ba64f0d..25249f59 100644 --- a/support.js +++ b/support.js @@ -214,7 +214,7 @@ const registerHooks = () => { // pass environment variable coverage=false // cypress run --env coverage=false // or -// CYPRESS_coverage=false cypress run +// CYPRESS_COVERAGE=false cypress run // see https://on.cypress.io/environment-variables // to avoid "coverage" env variable being case-sensitive, convert to lowercase