test: fix extension dynamic imports

This commit is contained in:
Peter Steinberger
2026-04-26 11:15:34 +01:00
parent 9694c0611c
commit bc49fb1cdf
2 changed files with 2 additions and 2 deletions

View File

@@ -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", () => {

View File

@@ -7,7 +7,7 @@ vi.mock("./client.js", () => ({
createFeishuClient: createFeishuClientMock,
}));
const freshDirectoryModulePath = "./directory.js?directory-test";
const freshDirectoryModulePath = "./directory.js";
const {
listFeishuDirectoryGroups,
listFeishuDirectoryGroupsLive,