fix: unblock bundled plugin load

This commit is contained in:
Peter Steinberger
2026-01-18 19:33:58 +00:00
parent bf3021d266
commit 601a052216
17 changed files with 136 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ const execSyncMock = vi.fn();
describe("cli credentials", () => {
beforeEach(() => {
vi.resetModules();
vi.useFakeTimers();
});

View File

@@ -39,6 +39,7 @@ vi.mock("../config/sessions.js", () => ({
resolveAgentIdFromSessionKey: () => "main",
resolveStorePath: () => "/tmp/sessions.json",
resolveMainSessionKey: () => "agent:main:main",
readSessionUpdatedAt: vi.fn(() => undefined),
recordSessionMetaFromInbound: vi.fn().mockResolvedValue(undefined),
}));