MCPcopy Create free account
hub / github.com/ReAPI-com/mcp-openapi / createTestConfig

Function createTestConfig

src/core/__tests__/SpecExplorer.test.ts:14–22  ·  view source on GitHub ↗
(basePath: string)

Source from the content-addressed store, hash-verified

12 let service: FileSystemSpecService;
13
14 const createTestConfig = (basePath: string): SpecServiceConfig => ({
15 basePath,
16 catalogDir: '_catalog',
17 dereferencedDir: '_dereferenced',
18 cache: {
19 maxSize: 100,
20 ttl: 1000 * 60 * 5 // 5 minutes for tests
21 }
22 });
23
24 beforeAll(async () => {
25 // Clean up test directories

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected