(basePath: string)
| 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 |