()
| 26 | |
| 27 | // deno-lint-ignore no-explicit-any |
| 28 | function getSession(): Set<Spy<any, any[], any>> { |
| 29 | if (sessions.length === 0) sessions.push(new Set()); |
| 30 | return sessions.at(-1)!; |
| 31 | } |
| 32 | |
| 33 | // deno-lint-ignore no-explicit-any |
| 34 | export function registerMock(spy: Spy<any, any[], any>) { |
no test coverage detected