MCPcopy
hub / github.com/TanStack/ai / runSimulatedWrapper

Function runSimulatedWrapper

packages/ai-code-mode-skills/test-cli/tests.ts:40–50  ·  view source on GitHub ↗

* Wrapper for the simulated test

(
  _adapter: AnyTextAdapter | null,
  _verbose: boolean,
)

Source from the content-addressed store, hash-verified

38 * Wrapper for the simulated test
39 */
40async function runSimulatedWrapper(
41 _adapter: AnyTextAdapter | null,
42 _verbose: boolean,
43): Promise<TestOutcome> {
44 const { runSimulatedTest } = await import('./simulated-test')
45 const result = await runSimulatedTest()
46 return {
47 passed: result.passed,
48 error: result.passed ? undefined : 'Simulated test failed',
49 }
50}
51
52/**
53 * Wrapper for the skills live test

Callers

nothing calls this directly

Calls 1

runSimulatedTestFunction · 0.85

Tested by

no test coverage detected