test(apple-health): build the ZIP64 fixture without BigInt literals

The project targets below ES2020, where tsc refuses 44n.
This commit is contained in:
Marc-André Bombeck committed 2026-11-17 19:03:08 +01:00
1 parent b2aed1f66d
commit 07e3babc9e
1 file changed
+1 -1
@@ -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);