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

Function matchesScenario

test/acceptance/gherkin/steps.js:46–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 const captureSnapshot = JSON.stringify(capturedScenarios, null, 2);
45
46 const matchesScenario = entry =>
47 entry.tags && entry.tags.includes('@scenarioHook') && entry.tags.includes('@hookCapture');
48
49 const bddBefore = capturedScenarios.find(
50 entry => entry.phase === 'Before-hook' && matchesScenario(entry),

Callers 1

steps.jsFile · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected