Skip to content

Commit

Permalink
fix: ignore whisk for now
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Jan 19, 2024
1 parent 3df92b7 commit 72dd9e9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/beacon-node/test/spec/presets/ssz_static.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ type Types = Record<string, Type<any>>;
//

const sszStatic =
(skippedTypes?: string[]) =>
(skippedFork: string, skippedTypes?: string[]) =>
(fork: ForkName, typeName: string, testSuite: string, testSuiteDirpath: string): void => {
if (fork === skippedFork) {
return;
}

// Do not manually skip tests here, do it in packages/beacon-node/test/spec/presets/index.test.ts
if (skippedTypes?.includes(typeName)) {
return;
Expand Down Expand Up @@ -71,6 +75,7 @@ specTestIterator(path.join(ethereumConsensusSpecsTests.outputDir, "tests", ACTIV
// eslint-disable-next-line @typescript-eslint/naming-convention
ssz_static: {
type: RunnerType.custom,
fn: sszStatic(),
// starting from v1.4.0-beta.6, there is "whisk" fork in ssz_static tests but we ignore them
fn: sszStatic("whisk"),
},
});

0 comments on commit 72dd9e9

Please sign in to comment.