mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-20 21:23:23 +00:00
test(telegram): stop overriding message-context session mocks
This commit is contained in:
@@ -99,13 +99,5 @@ async function installMessageContextTestMocks() {
|
||||
resolveStorePath: (storePath?: string) => storePath ?? "/tmp/sessions.json",
|
||||
};
|
||||
});
|
||||
vi.doMock("openclaw/plugin-sdk/conversation-runtime", async (importOriginal) => {
|
||||
const actual =
|
||||
await importOriginal<typeof import("openclaw/plugin-sdk/conversation-runtime")>();
|
||||
return {
|
||||
...actual,
|
||||
recordInboundSession: async () => undefined,
|
||||
};
|
||||
});
|
||||
messageContextMocksInstalled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user