From 50c698cbbfabdc066cd1346574d2702414a301c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 21 Jun 2023 15:58:08 +0200 Subject: [PATCH] Fixed MongoDB Client tests types --- integration-tests/tests/src/tests/sync/mongo-db-client.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/integration-tests/tests/src/tests/sync/mongo-db-client.ts b/integration-tests/tests/src/tests/sync/mongo-db-client.ts index 08b40a8401..f97498656f 100644 --- a/integration-tests/tests/src/tests/sync/mongo-db-client.ts +++ b/integration-tests/tests/src/tests/sync/mongo-db-client.ts @@ -17,12 +17,17 @@ //////////////////////////////////////////////////////////////////////////// import { expect } from "chai"; -import { BSON, ChangeEvent, Credentials, DeleteResult, Document, InsertEvent, MongoDBCollection, User } from "realm"; +import Realm, { BSON } from "realm"; import { authenticateUserBefore, importAppBefore } from "../../hooks"; import { sleep } from "../../utils/sleep"; import { buildAppConfig } from "../../utils/build-app-config"; +type Document = Realm.Services.MongoDB.Document; +type MongoDBCollection = Realm.Services.MongoDB.MongoDBCollection; +type ChangeEvent = Realm.Services.MongoDB.ChangeEvent; +type InsertEvent = Realm.Services.MongoDB.InsertEvent; + type TestDocument = { _id: number; text?: string;