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