* Hook for external pause drivers (e.g. the MCP server). When set, pauseSession * delegates to the handler instead of opening a readline REPL. The handler * receives `{ registeredVariables }` and returns a Promise that resolves when * the driver decides to continue (resume) or step. * * The dri
(handler)
| 272 | * resolving its Promise. |
| 273 | */ |
| 274 | function setPauseHandler(handler) { |
| 275 | externalHandler = handler |
| 276 | } |
| 277 | |
| 278 | /** |
| 279 | * Trigger a one-shot pause from outside the test (e.g. the MCP server, |
no outgoing calls
no test coverage detected