Skip to content

Commit 2cec048

Browse files
committed
fi
1 parent 1fcefee commit 2cec048

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/ts/test/core/precompile.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ test("listFunction transform", async () => {
66
[],
77
undefined,
88
undefined,
9+
[],
910
true,
1011
""
1112
);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const { precompile } = await import("../../../../src/core/precompile.js");
1717
const { compile } = await import("../../../../src/core/compile.js");
1818

1919
test("transform error", async () => {
20-
const transformFunction = join(projectRoot, "transform", "listFunctions.mjs");
20+
// const transformFunction = join(projectRoot, "transform", "listFunctions.mjs");
2121
expect(jest.isMockFunction(main)).toBeTruthy();
2222
await expect(async () => {
23-
await precompile(["tests/ts/fixture/transformFunction.ts"], [], [], "", transformFunction);
23+
await precompile(["tests/ts/fixture/transformFunction.ts"], [], undefined, undefined, [], true, "");
2424
}).rejects.toThrow("mock asc.main() error");
2525
});
2626

0 commit comments

Comments
 (0)