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

Function fn

test/unit/steps_test.js:129–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 const msg = 'first message'
128 const msg2 = 'second message'
129 const fn = msg => `result from callback = ${msg}`
130 metaStep.run.bind(metaStep, fn)(msg, msg2)
131 expect(metaStep.toString()).eql(`On MyPage: click by name "${msg}", "${msg2}"`)
132 })

Callers 15

bdd_test.jsFile · 0.70
WebElement_test.jsFile · 0.70
withLockFunction · 0.70
replaceInFileFunction · 0.50
withinFunction · 0.50
elementFunction · 0.50
eachElementFunction · 0.50
expectElementFunction · 0.50
expectAnyElementFunction · 0.50
expectAllElementsFunction · 0.50
tryOrDefaultFunction · 0.50
runStepsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected