Skip to content

Commit

Permalink
test: name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Dec 16, 2024
1 parent c2bfe36 commit 7a2a9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node/parser/calculate_size.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('calculateSize()', () => {
}
});

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 () {
const doc = { a: BigInt(1) };
expect(BSON.calculateObjectSize(doc)).to.equal(16);
expect(BSON.calculateObjectSize(doc)).to.equal(BSON.serialize(doc).byteLength);
Expand Down

0 comments on commit 7a2a9b7

Please sign in to comment.