diff --git a/test/common.js b/test/common.js index 891c674a693cbf..420fc808416fbd 100644 --- a/test/common.js +++ b/test/common.js @@ -358,7 +358,8 @@ exports.allowGlobals = allowGlobals; function leakedGlobals() { const leaked = []; - for (const val in global) + // eslint-disable-next-line no-var + for (var val in global) if (!knownGlobals.includes(global[val])) leaked.push(val);