From cb03ef67e7b5389900e5933b84830d63a1df66b8 Mon Sep 17 00:00:00 2001 From: garrytan Date: Fri, 16 Oct 2026 23:42:00 +0000 Subject: [PATCH] test(pregate): the ship receipt counts the timing check (7 checks) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/pregate-invalidation.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pregate-invalidation.test.ts b/test/pregate-invalidation.test.ts index 067d58011..731d18941 100644 --- a/test/pregate-invalidation.test.ts +++ b/test/pregate-invalidation.test.ts @@ -29,7 +29,7 @@ describe('pregate invalidation', () => { const ok = receipt(repo); expect(ok.status).toBe(EXIT.ok); const parsed = JSON.parse(ok.out); - expect(parsed.pregate).toMatch(/^pass @[0-9a-f]{12} \(6 checks, current for [0-9a-f]{12}\)$/); + expect(parsed.pregate).toMatch(/^pass @[0-9a-f]{12} \(7 checks, current for [0-9a-f]{12}\)$/); expect(parsed.requires_remote).toBeUndefined(); expect(Object.keys(parsed).indexOf('pregate')).toBeGreaterThan(Object.keys(parsed).indexOf('history') < 0 ? Object.keys(parsed).indexOf('session_kind') : Object.keys(parsed).indexOf('history')); // The stamp (or any edit) after the run moves the tree: the record is no longer evidence.