mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix: widen requestGateway mock signature for typecheck (follow-up for salvaged PR #69689)
This commit is contained in:
parent
062d261955
commit
fd29ce5102
1 changed files with 1 additions and 1 deletions
|
|
@ -1171,7 +1171,7 @@ describe('usePromptActions submit / queue drain semantics', () => {
|
|||
// the queue entry. The drain must instead go through session.resume to
|
||||
// rebind the correct runtime before submitting.
|
||||
const requestGateway = vi.fn(
|
||||
async (method: string) =>
|
||||
async (method: string, _params?: Record<string, unknown>, _timeoutMs?: number) =>
|
||||
(method === 'session.resume' ? { session_id: 'rt-session-a-rebound' } : {}) as never
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue