MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / scenario

Function scenario

apps/api/e2e/lib.ts:69–72  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

67let currentScenario = 'setup';
68
69export function scenario(name: string) {
70 currentScenario = name;
71 console.log(`\n▶ ${name}`);
72}
73export function check(name: string, ok: boolean, detail?: string) {
74 results.push({ scenario: currentScenario, name, ok, detail });
75 console.log(` ${ok ? '✓' : '✗'} ${name}${detail && !ok ? ` — ${detail}` : ''}`);

Callers 11

emitFunction · 0.90
settleFunction · 0.90
drainFunction · 0.90
reconcileFunction · 0.90
scenarioSingleSessionFunction · 0.90
scenarioBoundaryFunction · 0.90
scenarioReplayFunction · 0.90
scenarioIdentifyFunction · 0.90
ensureFixturesFunction · 0.85
preflightFunction · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected