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

Function wireOnTest

lib/plugin/screenshot.js:130–135  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

128}
129
130function wireOnTest(options) {
131 event.dispatcher.on(event.test.after, test => {
132 if (!test) return
133 scheduleScreenshot(test, suffix(test, options, 'test'), options)
134 })
135}
136
137function wireOnStep(options, filter) {
138 let currentTest = null

Callers 1

screenshot.jsFile · 0.85

Calls 2

scheduleScreenshotFunction · 0.85
suffixFunction · 0.85

Tested by

no test coverage detected