Properly allow undefined ignore patterns for test/include/exclude.
This commit is contained in:
parent
a3ad518ce1
commit
ec2e0b664a
@ -140,6 +140,8 @@ export function assertConfigApplicableTest(
|
||||
key: string,
|
||||
value: mixed,
|
||||
): ConfigApplicableTest | void {
|
||||
if (value === undefined) return value;
|
||||
|
||||
if (Array.isArray(value)) {
|
||||
value.forEach((item, i) => {
|
||||
if (!checkValidTest(item)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user