Skip to content

Commit 361c7fc

Browse files
committed
fix: increase timeout for cold-cache pipeline tests
1 parent 7067101 commit 361c7fc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/parser/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class Calculator {
9292
fs.rmSync(projectDir, { recursive: true, force: true });
9393
});
9494

95-
it("parses all TypeScript files", () => {
95+
it("parses all TypeScript files", { timeout: 30_000 }, () => {
9696
const files = parseCodebase(projectDir);
9797
expect(files).toHaveLength(4);
9898
});

tests/fixture-smoke.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("fixture-codebase smoke test", () => {
2525
expect(fs.existsSync(getFixtureSrcPath())).toBe(true);
2626
});
2727

28-
it("pipeline parses fixture without errors", () => {
28+
it("pipeline parses fixture without errors", { timeout: 30_000 }, () => {
2929
const { parsedFiles } = getFixturePipeline();
3030
expect(parsedFiles.length).toBeGreaterThan(0);
3131
});

tests/phase1-red.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface ExpectedSymbolsFile {
4040
}
4141

4242
describe("1.1 — parser re-export resolution", () => {
43-
it("barrel index.ts files expose transitive exports", () => {
43+
it("barrel index.ts files expose transitive exports", { timeout: 30_000 }, () => {
4444
const { parsedFiles } = getFixturePipeline();
4545
const authIndex = parsedFiles.find((f) => f.relativePath === "auth/index.ts");
4646
expect(authIndex).toBeDefined();

0 commit comments

Comments
 (0)