Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/common/index.js b/test/common/index.js
index dd672900208..eb9d511cb3c 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -238,9 +238,6 @@ function platformTimeout(ms) {
if (process.features.debug)
ms = multipliers.two * ms;
- if (global.__coverage__)
- ms = multipliers.four * ms;
-
if (isAIX)
return multipliers.two * ms; // default localhost speed is slower on AIX
@@ -299,11 +296,7 @@ function leakedGlobals() {
}
}
- if (global.__coverage__) {
- return leaked.filter((varname) => !/^(?:cov_|__cov)/.test(varname));
- } else {
- return leaked;
- }
+ return leaked;
}
process.on('exit', function() {