Function
createMockManifest
(resources: ResourceManifestEntry[])
Source from the content-addressed store, hash-verified
| 33 | const mockHandler = vi.fn(async () => ({ contents: [{ text: 'mock' }] })); |
| 34 | |
| 35 | function createMockManifest(resources: ResourceManifestEntry[]): ResolvedManifest { |
| 36 | return { |
| 37 | tools: new Map(), |
| 38 | workflows: new Map(), |
| 39 | resources: new Map(resources.map((r) => [r.id, r])), |
| 40 | }; |
| 41 | } |
| 42 | |
| 43 | const simulatorsResource: ResourceManifestEntry = { |
| 44 | id: 'simulators', |
Tested by
no test coverage detected