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

Function driveHook

test/unit/bdd_test.js:465–468  ·  view source on GitHub ↗
(hook, currentTest)

Source from the content-addressed store, hash-verified

463 }
464
465 const driveHook = (hook, currentTest) =>
466 new Promise((resolve, reject) => {
467 hook.fn.call({ currentTest }, err => (err ? reject(err) : resolve()))
468 })
469
470 it('event.test.before carries the real scenario title and tags', async () => {
471 registerBasicSteps()

Callers 1

bdd_test.jsFile · 0.85

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected