Skip to content

Commit

Permalink
style(MongoInstance): ignore nodejs warning from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Aug 27, 2021
1 parent 2741434 commit 68adbbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mongodb-memory-server-core/src/util/MongoInstance.ts
Expand Up @@ -9,6 +9,8 @@ import { MongoClient, MongoClientOptions, MongoNetworkError } from 'mongodb';
import { promises as fspromises, constants } from 'fs';
import { KeyFileMissingError, StartBinaryFailedError } from './errors';

// ignore the nodejs warning for coverage
/* istanbul ignore next */
if (lt(process.version, '12.22.0')) {
console.warn('Using NodeJS below 12.22.0');
}
Expand Down

0 comments on commit 68adbbf

Please sign in to comment.