From 418006bf4cd22105defed79c2385a4a4bdc61117 Mon Sep 17 00:00:00 2001 From: Carlos Precioso Date: Fri, 24 May 2019 15:08:50 +0200 Subject: [PATCH] Add `toString` method to process.js --- mock/process.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mock/process.js b/mock/process.js index 04f7959..f1367d8 100644 --- a/mock/process.js +++ b/mock/process.js @@ -28,3 +28,4 @@ exports.umask = exports.dlopen = exports.uptime = exports.memoryUsage = exports.uvCounters = function() {}; exports.features = {}; +exports.toString = function () { return "[object process]" };