Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Sep 4, 2024
1 parent ea2d4ce commit aa1fbc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions test/integration/change-streams/change_stream.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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
}
Expand Down
1 change: 0 additions & 1 deletion test/unit/mongo_logger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aa1fbc8

Please sign in to comment.