Skip to content

Commit 280f5c6

Browse files
committed
fix
1 parent 2cec048 commit 280f5c6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/ts/test/core/throwError.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { join } from "node:path";
21
// eslint-disable-next-line n/no-extraneous-import
32
import { jest } from "@jest/globals";
4-
import { projectRoot } from "../../../../src/utils/projectRoot.js";
53

64
jest.unstable_mockModule("assemblyscript/asc", () => ({
75
main: jest.fn(() => {
@@ -17,7 +15,6 @@ const { precompile } = await import("../../../../src/core/precompile.js");
1715
const { compile } = await import("../../../../src/core/compile.js");
1816

1917
test("transform error", async () => {
20-
// const transformFunction = join(projectRoot, "transform", "listFunctions.mjs");
2118
expect(jest.isMockFunction(main)).toBeTruthy();
2219
await expect(async () => {
2320
await precompile(["tests/ts/fixture/transformFunction.ts"], [], undefined, undefined, [], true, "");

0 commit comments

Comments
 (0)