test: fix extension dynamic imports · openclaw/openclaw@bc49fb1
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -44,7 +44,7 @@ vi.mock("./probe.js", () => ({
|
44 | 44 | getCachedBlueBubblesPrivateApiStatus: vi.fn().mockReturnValue(null), |
45 | 45 | })); |
46 | 46 | |
47 | | -const freshActionsModulePath = "./actions.js?actions-test"; |
| 47 | +const freshActionsModulePath = "./actions.js"; |
48 | 48 | const { bluebubblesMessageActions } = await import(freshActionsModulePath); |
49 | 49 | |
50 | 50 | describe("bluebubblesMessageActions", () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,7 @@ vi.mock("./client.js", () => ({
|
7 | 7 | createFeishuClient: createFeishuClientMock, |
8 | 8 | })); |
9 | 9 | |
10 | | -const freshDirectoryModulePath = "./directory.js?directory-test"; |
| 10 | +const freshDirectoryModulePath = "./directory.js"; |
11 | 11 | const { |
12 | 12 | listFeishuDirectoryGroups, |
13 | 13 | listFeishuDirectoryGroupsLive, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。