()
| 945 | }) |
| 946 | |
| 947 | const buildLocal = () => ({ |
| 948 | catalog: null, |
| 949 | getHistoryItems: vi.fn(() => []), |
| 950 | getLastUserMsg: vi.fn(() => ''), |
| 951 | maybeWarn: vi.fn(), |
| 952 | setCatalog: vi.fn() |
| 953 | }) |
| 954 | |
| 955 | const buildSession = () => ({ |
| 956 | closeSession: vi.fn(() => Promise.resolve(null)), |
no outgoing calls
no test coverage detected