Skip to content

Commit

Permalink
Add lint exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Nov 25, 2020
1 parent f536f22 commit c6bbd98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tools/mongoDBUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ const async = require('async');
function cleanDb(host, name, callback) {
const url = 'mongodb://' + host + ':27017/' + name;

/* eslint-disable-next-line no-unused-vars */
MongoClient.connect(url, { useNewUrlParser: true }, function (err, db) {
if (db && db.db()) {
/* eslint-disable-next-line no-unused-vars */
db.db().dropDatabase(function (err, result) {
db.close();
callback();
Expand Down

0 comments on commit c6bbd98

Please sign in to comment.