Discord: use cached session store in think autocomplete
This commit is contained in:
parent
d775c9499e
commit
b169d912a1
@ -105,5 +105,7 @@ describe("discord native /think autocomplete", () => {
|
||||
const choices = respond.mock.calls[0]?.[0] ?? [];
|
||||
const values = choices.map((choice) => choice.value);
|
||||
expect(values).toContain("xhigh");
|
||||
expect(mocks.loadSessionStore).toHaveBeenCalledWith("/tmp/openclaw-sessions.mock.json");
|
||||
expect(mocks.loadSessionStore.mock.calls[0]?.[1]).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user