docs(plugins): document runtime config APIs

This commit is contained in:
Peter Steinberger
2026-04-27 12:17:06 +01:00
parent 7f3f108521
commit c59af3caf7
5 changed files with 76 additions and 6 deletions

View File

@@ -178,8 +178,9 @@ const mockRuntime = {
// ... other mocks
},
config: {
loadConfig: vi.fn(),
writeConfigFile: vi.fn(),
current: vi.fn(() => ({}) as const),
mutateConfigFile: vi.fn(),
replaceConfigFile: vi.fn(),
},
// ... other namespaces
} as unknown as PluginRuntime;