grep-tests-from-pull-requests
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "grep-tests-from-pull-requests", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Grabs the test tags to run from the pull request text", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -120,4 +120,12 @@ # grep-tests-from-pull-requests | ||
Will add the values `{num: 1, correct: true, FRIENDLY_GREETING: "Hello"}` to the `Cypress.env` | ||
Will add the values `{num: 1, correct: true, FRIENDLY_GREETING: "Hello"}` to the `Cypress.env`. Note: an empty value is converted to `undefined`. | ||
``` | ||
CYPRESS_age= | ||
# will produce | ||
{ age: undefined } | ||
``` | ||
If you really want to skip a value, prefix it somehow, like `xCYPRESS_...=value` | ||
## Aliases | ||
@@ -124,0 +132,0 @@ |
@@ -21,2 +21,6 @@ /** | ||
function cast(str) { | ||
if (typeof str === 'undefined' || str === '') { | ||
return undefined | ||
} | ||
if (str === 'true') { | ||
@@ -23,0 +27,0 @@ return true |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23835
541
202