MCPcopy Index your code
hub / github.com/garrytan/gstack / testIfSelected

Function testIfSelected

test/codex-e2e-plan-format.test.ts:72–78  ·  view source on GitHub ↗
(name: string, fn: () => Promise<void>, timeout?: number)

Source from the content-addressed store, hash-verified

70}
71
72function testIfSelected(name: string, fn: () => Promise<void>, timeout?: number) {
73 if (selectedTests !== null && !selectedTests.includes(name)) {
74 test.skip(name, fn, timeout);
75 } else {
76 test(name, fn, timeout);
77 }
78}
79
80// --- Eval collector ---
81

Callers 1

Calls 1

testFunction · 0.70

Tested by

no test coverage detected