From 07e3babc9e342d7f4ae8530587d3837cbc7e34c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 17 Nov 2026 19:03:08 +0100 Subject: [PATCH] test(apple-health): build the ZIP64 fixture without BigInt literals The project targets below ES2020, where tsc refuses 44n. --- src/lib/apple-health/__tests__/helpers/zip64.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/apple-health/__tests__/helpers/zip64.ts b/src/lib/apple-health/__tests__/helpers/zip64.ts index ef6729f16..55e966929 100644 --- a/src/lib/apple-health/__tests__/helpers/zip64.ts +++ b/src/lib/apple-health/__tests__/helpers/zip64.ts @@ -62,7 +62,7 @@ export function zip64Archive( const record = Buffer.alloc(56); record.writeUInt32LE(0x06064b50, 0); - record.writeBigUInt64LE(44n, 4); + record.writeBigUInt64LE(BigInt(44), 4); record.writeUInt16LE(45, 12); record.writeUInt16LE(45, 14); record.writeBigUInt64LE(BigInt(count), 24);