We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84fa9fd commit f8581e7Copy full SHA for f8581e7
lib/internal/test_runner/runner.js
@@ -391,7 +391,7 @@ function run(options) {
391
if (!ArrayIsArray(testNamePatterns)) {
392
testNamePatterns = [testNamePatterns];
393
}
394
- validateArray(testNamePatterns, 'options.testNamePatterns');
+
395
testNamePatterns = ArrayPrototypeMap(testNamePatterns, (value, i) => {
396
if (isRegExp(value)) {
397
return value;
0 commit comments