Skip to content

Commit d12a7f1

Browse files
committed
Revert "test: add a regression"
This reverts commit 81fa162.
1 parent 81fa162 commit d12a7f1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bson.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ export function setInternalBufferSize(size: number): void {
9090
* @public
9191
*/
9292
export function serialize(object: Document, options: SerializeOptions = {}): Uint8Array {
93-
// @ts-expect-error: i DNE
94-
for (options.i = 0; options.i < 100_000; options.i++);
9593
// Unpack the options
9694
const checkKeys = typeof options.checkKeys === 'boolean' ? options.checkKeys : false;
9795
const serializeFunctions =

0 commit comments

Comments
 (0)