grep-tests-from-pull-requests
Advanced tools
Comparing version 1.15.1 to 1.15.2
{ | ||
"name": "grep-tests-from-pull-requests", | ||
"version": "1.15.1", | ||
"version": "1.15.2", | ||
"description": "Grabs the test tags to run from the pull request text", | ||
@@ -34,2 +34,3 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"common-tags": "^1.8.2", | ||
"cypress": "13.12.0", | ||
@@ -36,0 +37,0 @@ "cypress-grep": "^2.13.1", |
@@ -190,2 +190,3 @@ // @ts-check | ||
let done = false | ||
let foundList = false | ||
const additionalSpecs = [] | ||
@@ -204,7 +205,16 @@ const startMarker = 'Run these Cypress specs too:' | ||
const maybeSpecLine = lines[i].trim() | ||
if (maybeSpecLine === '-') { | ||
foundList = true | ||
continue | ||
} | ||
if (foundList && !maybeSpecLine) { | ||
// an empty line after the list of specs | ||
// means we are done searching | ||
break | ||
} | ||
if (maybeSpecLine.startsWith('- ')) { | ||
foundList = true | ||
const cleanedUp = maybeSpecLine.slice(2).replaceAll('`', '') | ||
@@ -211,0 +221,0 @@ if (cleanedUp) { |
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
31680
755
5