diff --git a/integration-tests/tests/src/tests/sync/partition-values.ts b/integration-tests/tests/src/tests/sync/partition-values.ts index e06ead4d19..14d3d69f7d 100644 --- a/integration-tests/tests/src/tests/sync/partition-values.ts +++ b/integration-tests/tests/src/tests/sync/partition-values.ts @@ -93,7 +93,7 @@ describe("Partition-values", () => { -Number.MAX_SAFE_INTEGER, new BSON.ObjectId("603fa0af4caa9c90ff6e126c"), new BSON.UUID("f3287217-d1a2-445b-a4f7-af0520413b2a"), - null, // TODO: This causes the call to `new Realm(config)` to throw null pointer exception. + null, "", ]; diff --git a/packages/realm/src/bson.ts b/packages/realm/src/bson.ts index ed8d4fa34b..075ba29acd 100644 --- a/packages/realm/src/bson.ts +++ b/packages/realm/src/bson.ts @@ -26,8 +26,6 @@ import * as bson from "bson"; export namespace BSON { export const ObjectId = bson.ObjectId; export type ObjectId = bson.ObjectId; - export const ObjectID = bson.ObjectId; - export type ObjectID = bson.ObjectId; export const Decimal128 = bson.Decimal128; export type Decimal128 = bson.Decimal128; export const UUID = bson.UUID;