MCPcopy
hub / github.com/codeceptjs/CodeceptJS / Before

Function Before

lib/mocha/bdd.js:144–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143// Before/After hooks for BDD - these are global event listeners
144const Before = fn => {
145 event.dispatcher.on(event.test.started, fn)
146}
147
148const After = fn => {
149 event.dispatcher.on(event.test.finished, fn)

Calls

no outgoing calls

Tested by

no test coverage detected