mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 12:36:55 +02:00
test: fix extension dynamic imports
This commit is contained in:
@@ -44,7 +44,7 @@ vi.mock("./probe.js", () => ({
|
||||
getCachedBlueBubblesPrivateApiStatus: vi.fn().mockReturnValue(null),
|
||||
}));
|
||||
|
||||
const freshActionsModulePath = "./actions.js?actions-test";
|
||||
const freshActionsModulePath = "./actions.js";
|
||||
const { bluebubblesMessageActions } = await import(freshActionsModulePath);
|
||||
|
||||
describe("bluebubblesMessageActions", () => {
|
||||
|
||||
@@ -7,7 +7,7 @@ vi.mock("./client.js", () => ({
|
||||
createFeishuClient: createFeishuClientMock,
|
||||
}));
|
||||
|
||||
const freshDirectoryModulePath = "./directory.js?directory-test";
|
||||
const freshDirectoryModulePath = "./directory.js";
|
||||
const {
|
||||
listFeishuDirectoryGroups,
|
||||
listFeishuDirectoryGroupsLive,
|
||||
|
||||
Reference in New Issue
Block a user