Skip to content

Commit

Permalink
Fix the import for a spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 11, 2024
1 parent c1a5325 commit e2b3fbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/beacon-node/test/spec/presets/ssz_static.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import {it, vi} from "vitest";
import {Type} from "@chainsafe/ssz";
import {ssz} from "@lodestar/types";
import {ACTIVE_PRESET, ForkName, ForkLightClient} from "@lodestar/params";
Expand Down Expand Up @@ -58,7 +59,7 @@ const sszStatic =
it(testCase, function () {
// Mainnet must deal with big full states and hash each one multiple times
if (ACTIVE_PRESET === "mainnet") {
this.timeout(30 * 1000);
vi.setConfig({testTimeout: 30 * 1000});
}

const testData = parseSszStaticTestcase(path.join(testSuiteDirpath, testCase));
Expand Down

0 comments on commit e2b3fbf

Please sign in to comment.