Skip to content

Commit 2ca9c71

Browse files
committed
unit test fix
1 parent 96a0b76 commit 2ca9c71

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/unit/operations/get_more.test.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,11 @@ describe('GetMoreOperation', function () {
198198
});
199199

200200
context('error cases', () => {
201-
const server = new Server(new Topology([], {} as any), new ServerDescription(''), {} as any);
201+
const server = new Server(
202+
new Topology([], {} as any),
203+
new ServerDescription('a:1'),
204+
{} as any
205+
);
202206
sinon.stub(server, 'command').yieldsRight();
203207

204208
it('should throw if the cursorId is undefined', async () => {

0 commit comments

Comments
 (0)