(filePath: string, content = 'code')
| 61 | } |
| 62 | |
| 63 | const task = (filePath: string, content = 'code'): ParseTask => ({ filePath, content, language: 'typescript' as Language }); |
| 64 | const result = (tag = 0): ExtractionResult => ({ nodes: [], edges: [], unresolvedReferences: [], errors: [], durationMs: tag }); |
| 65 | |
| 66 | /** Build a pool with a counting fake-worker factory. */ |