* Trigger a one-shot pause from outside the test (e.g. the MCP server, * pausing the test at a specific step index without modifying the test). * Schedules pauseSession through the recorder so it slots between steps.
(passedObject = {})
| 281 | * Schedules pauseSession through the recorder so it slots between steps. |
| 282 | */ |
| 283 | function pauseNow(passedObject = {}) { |
| 284 | if (store.dryRun) return |
| 285 | registerPauseListeners() |
| 286 | recorder.add('Triggered pause', () => pauseSession(passedObject)) |
| 287 | } |
| 288 | |
| 289 | export default pause |
| 290 | export { registerVariable, setPauseHandler, pauseNow } |
no test coverage detected