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

Function suffix

lib/plugin/screenshot.js:178–181  ·  view source on GitHub ↗
(test, options, kind)

Source from the content-addressed store, hash-verified

176}
177
178function suffix(test, options, kind) {
179 const base = testToFileName(test, { suffix: '', unique: options.uniqueScreenshotNames })
180 return `${base}.${kind}.png`
181}
182
183function scheduleScreenshot(test, fileName, options) {
184 recorder.add(

Callers 2

wireOnFailFunction · 0.85
wireOnTestFunction · 0.85

Calls 1

testToFileNameFunction · 0.90

Tested by

no test coverage detected