MCPcopy Index your code
hub / github.com/TanStack/ai / createTestStorage

Function createTestStorage

packages/ai-code-mode-skills/test-cli/test-utils.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 * Create a fresh memory storage for testing
31 */
32export function createTestStorage(): SkillStorage {
33 return createMemorySkillStorage({
34 initialSkills: [],
35 trustStrategy: createAlwaysTrustedStrategy(),
36 })
37}
38
39/**
40 * Result from a test phase

Callers 3

runLiveTestFunction · 0.90
runSimulatedTestFunction · 0.90
runRegistryTestFunction · 0.90

Calls 2

createMemorySkillStorageFunction · 0.90

Tested by

no test coverage detected