Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
pauseNow
Function · 0.90
push
Method · 0.80
toString
Method · 0.45
add
Method · 0.45
Tested by
no test coverage detected