mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 16:38:27 +00:00
chore: Fix types in tests 41/N.
This commit is contained in:
@@ -171,7 +171,7 @@ describe("resolveSessionKeyForRequest", () => {
|
||||
|
||||
// loadSessionStore should be called twice: once for main, once for mybot
|
||||
// (not twice for main)
|
||||
const storePaths = mocks.loadSessionStore.mock.calls.map((call: [string]) => call[0]);
|
||||
const storePaths = mocks.loadSessionStore.mock.calls.map((call) => String(call[0]));
|
||||
expect(storePaths).toHaveLength(2);
|
||||
expect(storePaths).toContain(MAIN_STORE_PATH);
|
||||
expect(storePaths).toContain(MYBOT_STORE_PATH);
|
||||
|
||||
Reference in New Issue
Block a user