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

Function testIfSelected

test/codex-e2e.test.ts:82–85  ·  view source on GitHub ↗

Skip an individual test if not selected by diff-based selection.

(testName: string, fn: () => Promise<void>, timeout: number)

Source from the content-addressed store, hash-verified

80
81/** Skip an individual test if not selected by diff-based selection. */
82function testIfSelected(testName: string, fn: () => Promise<void>, timeout: number) {
83 const shouldRun = selectedTests === null || selectedTests.includes(testName);
84 (shouldRun ? test.concurrent : test.skip)(testName, fn, timeout);
85}
86
87// --- Eval result collector ---
88

Callers 1

codex-e2e.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected