Skip to content

Commit 8f16019

Browse files
authored
test: fix failing unit test (#3358)
1 parent 0f79386 commit 8f16019

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/unit/operations/get_more.test.ts

Lines changed: 5 additions & 1 deletion
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)