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

Function testIfSelected

test/gemini-e2e.test.ts:77–80  ·  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

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

Callers 1

gemini-e2e.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected