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

Function isStepIgnored

lib/plugin/screenshot.js:399–405  ·  view source on GitHub ↗
(step, patterns)

Source from the content-addressed store, hash-verified

397}
398
399function isStepIgnored(step, patterns) {
400 if (!patterns || !patterns.length) return false
401 for (const pattern of patterns) {
402 if (step.title && step.title.match(pattern)) return true
403 }
404 return false
405}
406
407function scanRecordDirs(reportDir) {
408 const out = {}

Callers 1

persistStepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected