Skip to content

Commit

Permalink
Replace 1n with BigInt(1) for tests on old browsers to run in release…
Browse files Browse the repository at this point in the history
… script
  • Loading branch information
dfahlander committed Feb 8, 2024
1 parent 820530e commit 88b9e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests-misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ promisedTest("Issue #1890 - BigInt64Array getting corrupted after an update", as
id: 1,
updated: Date.now(),
cols: [{
values: new BigInt64Array([1n, 2n])
values: new BigInt64Array([BigInt(1), BigInt(2)])
}]
});
let val = await db.foo.get(1);
Expand Down

0 comments on commit 88b9e61

Please sign in to comment.