* Dynamic import wrapper isolated so unit tests can stub the module without * jest-style module mocking gymnastics. The narrow type here pins the * subset of `@sparticuz/chromium`'s surface this package depends on; if * the upstream module ever changes shape the type error here surfaces * before
| 148 | * before runtime. |
| 149 | */ |
| 150 | interface SparticuzChromiumModule { |
| 151 | args: string[]; |
| 152 | executablePath(): Promise<string>; |
| 153 | } |
| 154 | |
| 155 | let cachedSparticuz: SparticuzChromiumModule | null = null; |
| 156 |
no outgoing calls
no test coverage detected