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

Function onStepAfter

bin/mcp-server.js:847–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845 const commands = []
846 let lastStepValue
847 const onStepAfter = step => {
848 try { commands.push(step.toString()) } catch {}
849 }
850 const onStepPassed = (step, val) => {
851 if (val !== undefined) lastStepValue = val
852 }

Callers

nothing calls this directly

Calls 4

pauseNowFunction · 0.90
pushMethod · 0.80
toStringMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected