fix: suppress pre-existing no-explicit-any lint in chat.ts test mock
The options parameter in __setCreateFnAgent's inline arrow already uses any to match the module-level let (which has its own suppress comment). Add the missing eslint-disable-next-line so CI passes. Unrelated to the spinner fix — pre-existing on main. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1231,6 +1231,7 @@ export function __setCreateFnAgent(mock: typeof createFnAgent): void {
|
||||
// hit the real engine. Mirror the same fake into the resolved-session slot
|
||||
// so existing test setups that only call `__setCreateFnAgent` continue to
|
||||
// work.
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
createResolvedAgentSession = (async (options: any) => mock(options)) as typeof createResolvedAgentSession;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user