cypress-each
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "cypress-each", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple implementation for describe.each and it.each", | ||
@@ -5,0 +5,0 @@ "main": "src", |
@@ -9,3 +9,4 @@ /// <reference types="cypress" /> | ||
// by counting the "%" characters | ||
const count = pattern.match(/%/g).length | ||
const placeholders = pattern.match(/%/g) | ||
const count = placeholders ? placeholders.length : 0 | ||
return format.apply(null, [pattern].concat(values.slice(0, count))) | ||
@@ -12,0 +13,0 @@ } |
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
4589
42