We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a371f5 commit 00e67efCopy full SHA for 00e67ef
tests/ts/test/utils/index.test.ts
@@ -1,12 +1,6 @@
1
-import { jest } from "@jest/globals";
2
import { Imports as ASImports } from "@assemblyscript/loader";
3
4
-const mockWriteFile = jest.fn();
5
-jest.unstable_mockModule("node:fs", () => ({
6
- writeFileSync: mockWriteFile,
7
-}));
8
-
9
-const { supplyDefaultFunction } = await import("../../../../src/utils/index.js");
+import { supplyDefaultFunction } from "../../../../src/utils/index.js";
10
11
describe("supplyDefaultFunction", () => {
12
test("supplyTest", () => {
0 commit comments