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

Function runSkillsLiveWrapper

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

* Wrapper for the skills live test

(
  adapter: AnyTextAdapter | null,
  verbose: boolean,
)

Source from the content-addressed store, hash-verified

53 * Wrapper for the skills live test
54 */
55async function runSkillsLiveWrapper(
56 adapter: AnyTextAdapter | null,
57 verbose: boolean,
58): Promise<TestOutcome> {
59 if (!adapter) {
60 return { passed: false, error: 'No adapter provided' }
61 }
62
63 const { runLiveTest } = await import('./live-test')
64 const result = await runLiveTest({ adapter, verbose })
65 return {
66 passed: result.passed,
67 error: result.passed ? undefined : 'Skills live test failed',
68 }
69}
70
71/**
72 * Wrapper for the structured output test

Callers

nothing calls this directly

Calls 1

runLiveTestFunction · 0.85

Tested by

no test coverage detected