Skip to content

Commit

Permalink
chore(NODE-4217): remove todos for won't do jira ticket (#3226)
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson authored May 3, 2022
1 parent e563d8c commit 28f8675
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/integration/server-selection/operation_count.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,7 @@ describe('Server Operation Count Tests', function () {
expect(server.s.operationCount).to.equal(0);
const killCursorsSpy = sinon.spy(server, 'killCursors');

await cursor.close().catch(err => err);
// TODO(NODE-4217): update test to check for error existence
// expect(error).to.exist;
await cursor.close();

expect(killCursorsSpy.called).to.be.true;
expect(server.s.operationCount).to.equal(0);
Expand Down Expand Up @@ -291,9 +289,7 @@ describe('Server Operation Count Tests', function () {
});
const killCursorsSpy = sinon.spy(server, 'killCursors');

await cursor.close().catch(err => err);
// TODO(NODE-4217): update test to check for error existence
// expect(error).to.exist;
await cursor.close();

expect(killCursorsSpy.called).to.be.true;
expect(server.s.operationCount).to.equal(0);
Expand Down

0 comments on commit 28f8675

Please sign in to comment.