diff --git a/packages/beacon-node/test/spec/presets/epoch_processing.test.ts b/packages/beacon-node/test/spec/presets/epoch_processing.test.ts index 6c0156fa7f9..e381e903f59 100644 --- a/packages/beacon-node/test/spec/presets/epoch_processing.test.ts +++ b/packages/beacon-node/test/spec/presets/epoch_processing.test.ts @@ -101,7 +101,7 @@ const epochProcessing = expectEqualBeaconState(fork, expected, actual); }, // Do not manually skip tests here, do it in packages/beacon-node/test/spec/presets/index.test.ts - shouldSkip: (_testcase, name, _index) => skipTestNames?.some((skipTestName) => name.includes(skipTestName)), + shouldSkip: (_testcase, name, _index) => skipTestNames?.some((skipTestName) => name.includes(skipTestName)) ?? false, }, }; }; diff --git a/packages/beacon-node/test/spec/presets/transition.test.ts b/packages/beacon-node/test/spec/presets/transition.test.ts index 5bbe4f7f0aa..00fdd726cf0 100644 --- a/packages/beacon-node/test/spec/presets/transition.test.ts +++ b/packages/beacon-node/test/spec/presets/transition.test.ts @@ -82,7 +82,7 @@ const transition = expectEqualBeaconState(forkNext, expected, actual); }, // Do not manually skip tests here, do it in packages/beacon-node/test/spec/presets/index.test.ts - shouldSkip: (_testcase, name, _index) => skipTestNames?.some((skipTestName) => name.includes(skipTestName)), + shouldSkip: (_testcase, name, _index) => skipTestNames?.some((skipTestName) => name.includes(skipTestName)) ?? false, }, }; };