()
| 319 | } |
| 320 | |
| 321 | export function createProbeFailureGate() { |
| 322 | let failed: string | undefined |
| 323 | return { |
| 324 | accepts(key: string) { |
| 325 | return key !== failed |
| 326 | }, |
| 327 | settle(key: string, error?: unknown) { |
| 328 | if (error) failed = key |
| 329 | }, |
| 330 | reset() { |
| 331 | failed = undefined |
| 332 | }, |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | export async function runAddableProbePlan(input: { |
| 337 | plan: AddableProbePlan |
no outgoing calls
no test coverage detected