Skip to content

Commit 68adbbf

Browse files
committed
style(MongoInstance): ignore nodejs warning from coverage
1 parent 2741434 commit 68adbbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/mongodb-memory-server-core/src/util/MongoInstance.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import { MongoClient, MongoClientOptions, MongoNetworkError } from 'mongodb';
99
import { promises as fspromises, constants } from 'fs';
1010
import { KeyFileMissingError, StartBinaryFailedError } from './errors';
1111

12+
// ignore the nodejs warning for coverage
13+
/* istanbul ignore next */
1214
if (lt(process.version, '12.22.0')) {
1315
console.warn('Using NodeJS below 12.22.0');
1416
}

0 commit comments

Comments
 (0)