UNPKG

codebase-map

Version:

A lightweight TypeScript/JavaScript code indexer that generates comprehensive project maps for LLMs

45 lines 1.16 kB
/** * Integration Test Suite for Include/Exclude Patterns * * This comprehensive test suite validates complete CLI workflows, * realistic project structures, and pattern effectiveness. */ import type { ProjectIndex } from './types/index.js'; declare class TestProjectBuilder { private tempDir; private files; constructor(); /** * Add a file to the test project */ addFile(relativePath: string, content: string): this; /** * Add a directory structure with TypeScript files */ addTypescriptProject(): this; /** * Add test files */ addTestFiles(): this; /** * Build the project structure on disk */ build(): string; /** * Clean up the temporary directory */ cleanup(): void; /** * Get the temp directory path */ getPath(): string; } declare function runCLI(args: string[], cwd: string): { stdout: string; stderr: string; exitCode: number; indexPath: string; }; declare function loadIndex(indexPath: string): ProjectIndex; export { TestProjectBuilder, runCLI, loadIndex }; //# sourceMappingURL=test-integration.d.ts.map