diff --git a/test/integration/change-streams/change_stream.test.ts b/test/integration/change-streams/change_stream.test.ts index 3fa1e792ed0..64297ad5129 100644 --- a/test/integration/change-streams/change_stream.test.ts +++ b/test/integration/change-streams/change_stream.test.ts @@ -875,7 +875,7 @@ describe('Change Streams', function () { await lastWrite().catch(() => null); let counter = 0; - // eslint-disable-next-line @typescript-eslint/no-unused-vars + for await (const _ of changes) { counter += 1; if (counter === 2) { @@ -1027,7 +1027,6 @@ describe('Change Streams', function () { changeStream = collection.watch(); const loop = (async function () { - // eslint-disable-next-line @typescript-eslint/no-unused-vars for await (const _change of changeStream) { return 'loop entered'; // loop should never be entered } diff --git a/test/unit/mongo_logger.test.ts b/test/unit/mongo_logger.test.ts index 86e4242ffb2..fff75bf9a21 100644 --- a/test/unit/mongo_logger.test.ts +++ b/test/unit/mongo_logger.test.ts @@ -1052,7 +1052,6 @@ describe('class MongoLogger', function () { context('when serviceId is not present', function () { beforeEach(function () { - // eslint-disable-next-line @typescript-eslint/no-unused-vars const { serviceId: _, ...connectionPoolClearedNoServiceId } = connectionPoolCleared; logger[severityLevel]('connection', connectionPoolClearedNoServiceId);