Skip to content

Commit 63b15e5

Browse files
committed
fix(test): restore CI timeout assertions
1 parent 79f3daa commit 63b15e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/ci-workflows.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ describe("GitHub Actions hardening", () => {
1616
test("cross-platform CI keeps bounded jobs and immutable action references", async () => {
1717
const workflow = await readText(".github/workflows/ci.yml");
1818

19-
expect(count(workflow, "timeout-minutes: 12")).toBe(1);\n expect(count(workflow, "timeout-minutes: 8")).toBe(1);
19+
expect(count(workflow, "timeout-minutes: 12")).toBe(1);
20+
expect(count(workflow, "timeout-minutes: 8")).toBe(1);
2021
expect(workflow).toContain("actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0");
2122
expect(workflow).toContain("oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6");
2223
expect(workflow).toContain("actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e");

0 commit comments

Comments
 (0)