grep-tests-from-pull-requests
Advanced tools
Comparing version 1.15.2 to 1.16.0
{ | ||
"name": "grep-tests-from-pull-requests", | ||
"version": "1.15.2", | ||
"version": "1.16.0", | ||
"description": "Grabs the test tags to run from the pull request text", | ||
@@ -35,3 +35,3 @@ "main": "src/index.js", | ||
"common-tags": "^1.8.2", | ||
"cypress": "13.12.0", | ||
"cypress": "13.15.0", | ||
"cypress-grep": "^2.13.1", | ||
@@ -38,0 +38,0 @@ "prettier": "^3.3.2", |
@@ -141,2 +141,9 @@ # grep-tests-from-pull-requests | ||
If the string value is a valid JSON, it is automatically parsed | ||
``` | ||
CYPRESS_person={"name":"Joe"} | ||
// produces Cypress.env('person') object { name: 'Joe' } | ||
``` | ||
## Skip / enable Cypress tests | ||
@@ -143,0 +150,0 @@ |
@@ -40,2 +40,9 @@ // @ts-check | ||
try { | ||
const parsed = JSON.parse(str) | ||
return parsed | ||
} catch (e) { | ||
// do nothing if JSON parsing fails | ||
} | ||
// return the original string | ||
@@ -42,0 +49,0 @@ return str |
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
31963
761
257