[2024/04/22 15:37:47.211] FAILURE: (AssertionError)
[2024/04/22 15:37:47.211] AssertionError: expected MongoClient{ domain: null, _events: {}, _eventsCount: +0, _maxListeners: undefined, mongoLogger: undefined, s: { url: 'mongodb:, bsonOptions: { raw: false, useBigInt64: false, promoteLongs: true, promoteValues: true, promoteBuffers: false, ignoreUndefined: false, bsonRegExp: false, serializeFunctions: false, fieldsAsRaw: {}, enableUtf8Validation: true }, namespace: MongoDBNamespace{ db: 'admin', collection: undefined }, hasBeenClosed: false, sessionPool: ServerSessionPool{ client: MongoClient[Circular], sessions: List{ count: +0, head: { next: [Circular], prev: [Circular], value: null } } }, activeSessions: Set{}, authProviders: MongoClientAuthProviders{ existingProviders: Map{} }, options: { hosts: [ new HostAddress('localhost:27017'), new HostAddress('localhost:27018') ], credentials: MongoCredentials{ username: '', password: '', source: '$external', mechanism: 'MONGODB-X509', .... } to be an instance of MongoServerError
[2024/04/22 15:37:47.211] at Context.<anonymous (test/manual/x509_auth.test.ts:64:29)
[2024/04/22 15:37:47.211] at processTicksAndRejections (node:internal/process/task_queues:95:5)[2024/04/22 15:37:47.211] system-out:[2024/04/22 15:37:47.211] none[2024/04/22 15:37:47.211] system-err:[2024/04/22 15:37:47.211] none