Skip to content

Commit ab35c70

Browse files
committed
fix: invert filter condition so it does what it should
1 parent c581575 commit ab35c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-tests/testUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ function filterMessages(arr) {
378378
);
379379
}
380380
if (excludes.length > 0) {
381-
return arr.filter((m) => excludes.some((e) => m.includes(e)));
381+
return arr.filter((m) => !excludes.some((e) => m.includes(e)));
382382
} else {
383383
return arr;
384384
}

0 commit comments

Comments
 (0)