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