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 d0ad873 commit cb3abdaCopy full SHA for cb3abda
lib/internal/test_runner/runner.js
@@ -390,7 +390,7 @@ function run(options) {
390
if (!ArrayIsArray(testNamePatterns)) {
391
testNamePatterns = [testNamePatterns];
392
}
393
- validateArray(testNamePatterns, 'options.testNamePatterns');
+
394
testNamePatterns = ArrayPrototypeMap(testNamePatterns, (value, i) => {
395
if (isRegExp(value)) {
396
return value;
0 commit comments