We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2bfe36 commit 7a2a9b7Copy full SHA for 7a2a9b7
test/node/parser/calculate_size.test.ts
@@ -32,7 +32,7 @@ describe('calculateSize()', () => {
32
}
33
});
34
35
- it('returns 8 bytes (+7 meta bytes) size for a bigint value', function () {
+ it('returns 8 bytes (+8 meta bytes) size for a bigint value', function () {
36
const doc = { a: BigInt(1) };
37
expect(BSON.calculateObjectSize(doc)).to.equal(16);
38
expect(BSON.calculateObjectSize(doc)).to.equal(BSON.serialize(doc).byteLength);
0 commit comments