Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ setCallable
Method
setCallable
lib/step/func.js:9–11 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
7
class
FuncStep extends BaseStep {
8
// this is actual function that should be executed within step
9
setCallable(fn) {
10
this.fn = fn
11
}
12
13
// helper is optional, if we need to allow step to access helper methods
14
setHelper(helper) {
Callers
1
executeStep
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected