Skip to content

Commit 77b5b41

Browse files
committed
Try to fix bun ci
1 parent ef1279e commit 77b5b41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/packed.test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,10 @@ describe('coders', () => {
12341234
'-Infinity',
12351235
'-0',
12361236
];
1237-
for (const t of fail) throws(() => i64.encode(t), `${t || 'item'}`);
1237+
for (let i = 0; i < fail.length; i++) {
1238+
let t = fail[i];
1239+
throws(() => i64.encode(t), `index ${i}`);
1240+
}
12381241
const d5 = P.coders.decimal(5);
12391242
deepStrictEqual(d5.encode(123n), '0.00123');
12401243
deepStrictEqual(d5.encode(-123n), '-0.00123');

0 commit comments

Comments
 (0)