Skip to content

Commit 28f8675

Browse files
chore(NODE-4217): remove todos for won't do jira ticket (#3226)
1 parent e563d8c commit 28f8675

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/integration/server-selection/operation_count.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,7 @@ describe('Server Operation Count Tests', function () {
219219
expect(server.s.operationCount).to.equal(0);
220220
const killCursorsSpy = sinon.spy(server, 'killCursors');
221221

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

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

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

298294
expect(killCursorsSpy.called).to.be.true;
299295
expect(server.s.operationCount).to.equal(0);

0 commit comments

Comments
 (0)