From 2ca9c71fd37923949cd5f4a22453b92db208fa75 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Fri, 12 Aug 2022 11:13:11 -0400 Subject: [PATCH] unit test fix --- test/unit/operations/get_more.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/operations/get_more.test.ts b/test/unit/operations/get_more.test.ts index bb0bcabb93..1e770c6614 100644 --- a/test/unit/operations/get_more.test.ts +++ b/test/unit/operations/get_more.test.ts @@ -198,7 +198,11 @@ describe('GetMoreOperation', function () { }); context('error cases', () => { - const server = new Server(new Topology([], {} as any), new ServerDescription(''), {} as any); + const server = new Server( + new Topology([], {} as any), + new ServerDescription('a:1'), + {} as any + ); sinon.stub(server, 'command').yieldsRight(); it('should throw if the cursorId is undefined', async () => {