Skip to content

Commit

Permalink
Update the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 17, 2025
1 parent 390fd75 commit c1caf53
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/as-sha256/scripts/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// we preprocess the binary data into valid javascript code, a single exportable object.
// which can be statically imported.

import fs from "fs";
import fs from "node:fs";

interface BinaryMeta {
input: string;
Expand Down
4 changes: 2 additions & 2 deletions packages/ssz/test/spec/generic/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {describe, it, expect} from "vitest";
import path from "path";
import fs from "fs";
import path from "node:path";
import fs from "node:fs";
import {ethereumConsensusSpecsTests} from "../../specTestVersioning.js";
import {parseSszGenericValidTestcase, parseSszGenericInvalidTestcase} from "../testRunner.js";
import {runValidSszTest} from "../runValidTest.js";
Expand Down
4 changes: 2 additions & 2 deletions packages/ssz/test/spec/ssz_static.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs";
import path from "path";
import fs from "node:fs";
import path from "node:path";
import {describe, it, vi} from "vitest";
import {isCompositeType, Type} from "../../src/index.js";
import {ssz} from "../lodestarTypes/index.js";
Expand Down
4 changes: 2 additions & 2 deletions packages/ssz/test/spec/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "path";
import fs from "fs";
import path from "node:path";
import fs from "node:fs";
import {uncompress} from "snappyjs";
import jsyaml from "js-yaml";
import {schema} from "./sszYamlSchema.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/ssz/test/specTestVersioning.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from "node:path";
import url from "url";
import {DownloadTestsOptions} from "@lodestar/spec-test-util/downloadTests";

Expand Down

0 comments on commit c1caf53

Please sign in to comment.