From 47962b3dc736fbc94e152b47b167730060195e2f Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 3 Nov 2026 03:54:40 +0000 Subject: [PATCH] test: type the platform receipt fixture list (typecheck:test ratchet) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/ship-receipt-platform.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ship-receipt-platform.test.ts b/test/ship-receipt-platform.test.ts index 5a8122f74..1c7124e95 100644 --- a/test/ship-receipt-platform.test.ts +++ b/test/ship-receipt-platform.test.ts @@ -53,7 +53,7 @@ describe('C6 receipt: review_depth platform, honest and bound to the exact head const off = repo({}, { 'docs/howto.md': 'x\n' }); const dOff = receiptReviewAtHead(off.dir, 'main', BIN, off.head).depth; expect(withGh(off.head, () => platformReceiptDepth(off.dir, 'main', dOff, off.head, '99'))).toMatchObject({ ok: false, message: expect.stringContaining('review.platform on') }); - for (const files of [{ 'src/b.ts': 'export const b = 2;\n' }, { 'docs/results/summary.md': 'Ran it.\n' }]) { + for (const files of [{ 'src/b.ts': 'export const b = 2;\n' }, { 'docs/results/summary.md': 'Ran it.\n' }] as Record[]) { const { dir, head } = repo({ review: { platform: 'on' } }, files); const d = receiptReviewAtHead(dir, 'main', BIN, head).depth; expect(withGh(head, () => platformReceiptDepth(dir, 'main', d, head, '99')).ok).toBe(false);