From 7a2a9b78d18093b06f12a066781b37cb2ff75f0d Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Mon, 16 Dec 2024 11:23:48 -0500 Subject: [PATCH] test: name fix --- test/node/parser/calculate_size.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/node/parser/calculate_size.test.ts b/test/node/parser/calculate_size.test.ts index 1c119da4..2cf87372 100644 --- a/test/node/parser/calculate_size.test.ts +++ b/test/node/parser/calculate_size.test.ts @@ -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);