(config: Partial<MagicContextPluginConfig>)
| 36 | const ctx = { directory: process.cwd() } as unknown as PluginContext; |
| 37 | |
| 38 | function buildRegistry(config: Partial<MagicContextPluginConfig>): Record<string, unknown> { |
| 39 | return createToolRegistry({ |
| 40 | ctx, |
| 41 | pluginConfig: { enabled: true, ...config } as MagicContextPluginConfig, |
| 42 | }); |
| 43 | } |
| 44 | |
| 45 | describe("createToolRegistry — memory gating", () => { |
| 46 | it("registers ctx_memory when memory is enabled (default)", () => { |
no test coverage detected