Skip to content

Commit 13d5d3b

Browse files
authored
Address lint issues
1 parent 11b7d4b commit 13d5d3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/jest-config/src/normalize.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ export default async function normalize(
770770
case 'testMatch':
771771
{
772772
const option = oldOptions[key];
773-
const rawValue = Array.isArray(option) || typeof option === "undefined" ? option : [option];
773+
const rawValue =
774+
Array.isArray(option) || option == null ? option : [option];
774775
const replacedRootDirTags = _replaceRootDirTags(
775776
escapeGlobCharacters(options.rootDir),
776777
rawValue,

0 commit comments

Comments
 (0)