chore: Fix types in tests 41/N.

This commit is contained in:
cpojer
2026-02-17 15:48:16 +09:00
parent 3dc8d5656d
commit 6264c5e842
17 changed files with 81 additions and 43 deletions

View File

@@ -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);