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>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-16 23:42:00 +00:00
1 parent 4d69ff02df
commit cb03ef67e7
1 file changed
+1 -1
+1 -1
View File
@@ -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.