From 475fa889453b9be036e78a92430390fba7a22d82 Mon Sep 17 00:00:00 2001 From: booklearner Date: Tue, 20 Dec 2022 16:12:54 -0500 Subject: [PATCH 1/2] docs: update the environment variable to be upper-case --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index abe56a2d..8d3981e6 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 From 4cdb4daadd40b63e772edc4cf44a6b7d9ec5e260 Mon Sep 17 00:00:00 2001 From: booklearner Date: Tue, 20 Dec 2022 16:16:12 -0500 Subject: [PATCH 2/2] docs: update env var in comments in `support.js` as well --- support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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