Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
test: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rtritto committed Oct 15, 2023
1 parent d248bca commit bcd19d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ it('should accept a complex query', function() {
expect(
parse(`{
RegExp: /test/ig,
Binary: new Binary(''),
Binary: new Binary(),
BinData: BinData(3, 'dGVzdAo='),
UUID: UUID('3d37923d-ab8e-4931-9e46-93df5fd3599e'),
Code: Code('function() {}'),
Expand All @@ -56,7 +56,7 @@ it('should accept a complex query', function() {
}`)
).toEqual({
RegExp: /test/gi,
Binary: new bson.Binary('' as any),
Binary: new bson.Binary(),
BinData: new bson.Binary(Buffer.from('dGVzdAo=', 'base64'), 3),
UUID: new bson.Binary(
Buffer.from('3d37923dab8e49319e4693df5fd3599e', 'hex'),
Expand Down

0 comments on commit bcd19d5

Please sign in to comment.