* Helper to spy on private methods * This uses a more permissive type to avoid TypeScript errors with vi.spyOn on private methods
(host: ExtensionHost, method: string)
| 78 | * This uses a more permissive type to avoid TypeScript errors with vi.spyOn on private methods |
| 79 | */ |
| 80 | function spyOnPrivate(host: ExtensionHost, method: string) { |
| 81 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 82 | return vi.spyOn(host as any, method) |
| 83 | } |
| 84 | |
| 85 | describe("ExtensionHost", () => { |
| 86 | const initialRooCliRuntimeEnv = process.env.ROO_CLI_RUNTIME |
no outgoing calls
no test coverage detected