diff --git a/lib/leaks.js b/lib/leaks.js index 414c19ab..12a815eb 100755 --- a/lib/leaks.js +++ b/lib/leaks.js @@ -133,6 +133,14 @@ exports.detect = function (customGlobals) { } // $lab:coverage:on$ + // $lab:coverage:off$ + if (global.BigInt) { + whitelist.BigInt = true; + whitelist.BigUint64Array = true; + whitelist.BigInt64Array = true; + } + // $lab:coverage:on$ + if (global.DTRACE_HTTP_SERVER_RESPONSE) { whitelist.DTRACE_HTTP_SERVER_RESPONSE = true; whitelist.DTRACE_HTTP_SERVER_REQUEST = true;