summaryrefslogtreecommitdiff
path: root/test/common/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 09b7f55778..1be7872081 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -481,12 +481,6 @@ function nodeProcessAborted(exitCode, signal) {
}
}
-function busyLoop(time) {
- const startTime = Date.now();
- const stopTime = startTime + time;
- while (Date.now() < stopTime) {}
-}
-
function isAlive(pid) {
try {
process.kill(pid, 'SIGCONT');
@@ -744,7 +738,6 @@ function runWithInvalidFD(func) {
module.exports = {
allowGlobals,
buildType,
- busyLoop,
canCreateSymLink,
childShouldThrowAndAbort,
createZeroFilledFile,