MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / initStepMode

Function initStepMode

lib/plugin/pause.js:84–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84function initStepMode() {
85 let activated = false
86
87 event.dispatcher.on(event.test.before, () => {
88 if (activated) return
89 activated = true
90 recorder.add('pause:step', () => pause())
91 })
92}
93
94function initFileMode(targetPath, targetLine) {
95 let paused = false

Callers 1

pause.jsFile · 0.85

Calls 2

pauseFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected