Skip to content

Commit 4536d9a

Browse files
committed
fix test
1 parent c9b21d0 commit 4536d9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

actions/gls-action/test/functions/reprintParcel.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ describe("reprintParcel.ts", () => {
7777
});
7878

7979
it("registers function definitions and calls API endpoints correctly", async () => {
80-
const {register} = await import("../../src/functions/reprintParcel");
80+
const register = await import("../../src/functions/reprintParcel");
8181

82-
await withBaseFunctionMock(register, async (state) => {
82+
await withBaseFunctionMock(register.default, async (state) => {
8383
expect(state.registeredFunctionDefinitions).toHaveLength(1);
8484

8585
const [reprintParcel] = state.registeredFunctionDefinitions;

0 commit comments

Comments
 (0)