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 33893fd commit 11b7d4bCopy full SHA for 11b7d4b
packages/jest-config/src/normalize.ts
@@ -770,7 +770,7 @@ export default async function normalize(
770
case 'testMatch':
771
{
772
const option = oldOptions[key];
773
- const rawValue = Array.isArray(option) ? option : [option];
+ const rawValue = Array.isArray(option) || typeof option === "undefined" ? option : [option];
774
const replacedRootDirTags = _replaceRootDirTags(
775
escapeGlobCharacters(options.rootDir),
776
rawValue,
0 commit comments