MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / writeFixtureProject

Function writeFixtureProject

__tests__/wal-deferral.test.ts:185–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183});
184
185function writeFixtureProject(): void {
186 fs.mkdirSync(path.join(tmpDir, 'src'), { recursive: true });
187 for (let i = 0; i < 8; i++) {
188 fs.writeFileSync(
189 path.join(tmpDir, 'src', `mod${i}.ts`),
190 `export function fn${i}(x: number): number { return helper${i}(x) + ${i}; }\n` +
191 `function helper${i}(x: number): number { return x * ${i}; }\n`
192 );
193 }
194}
195
196describe('indexAll WAL deferral end-to-end', () => {
197

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected