Skip to content

Commit

Permalink
Revert "test: add a regression"
Browse files Browse the repository at this point in the history
This reverts commit 81fa162.
  • Loading branch information
nbbeeken committed Aug 28, 2024
1 parent 81fa162 commit d12a7f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ export function setInternalBufferSize(size: number): void {
* @public
*/
export function serialize(object: Document, options: SerializeOptions = {}): Uint8Array {
// @ts-expect-error: i DNE
for (options.i = 0; options.i < 100_000; options.i++);
// Unpack the options
const checkKeys = typeof options.checkKeys === 'boolean' ? options.checkKeys : false;
const serializeFunctions =
Expand Down

0 comments on commit d12a7f1

Please sign in to comment.