Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Aug 12, 2022
1 parent 96a0b76 commit 2ca9c71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/unit/operations/get_more.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 2ca9c71

Please sign in to comment.