summaryrefslogtreecommitdiff
path: root/test/parallel/test-bootstrap-modules.js
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-11-29 06:17:57 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-12-02 04:51:18 +0800
commitcfc2559ee0807e4c01ad882211792e917c6dba17 (patch)
treecdcce2e4887f7412152fbe52bdcecc42dc469bbe /test/parallel/test-bootstrap-modules.js
parentce8b0e196eca6816d77dda43f28e7da6b3784e6b (diff)
downloadandroid-node-v8-cfc2559ee0807e4c01ad882211792e917c6dba17.tar.gz
android-node-v8-cfc2559ee0807e4c01ad882211792e917c6dba17.tar.bz2
android-node-v8-cfc2559ee0807e4c01ad882211792e917c6dba17.zip
console: split console into global.js and constructor.js
Since we do not actually use the Console constructor to instantiate the global console, move the two piece of code into two different JS files for clarity, and make console.js a mere re-export of the global console. The hope is to make the global console, a namespace, more web-compatible while keeping the Console constructor available for backwards compatibility. PR-URL: https://github.com/nodejs/node/pull/24709 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-bootstrap-modules.js')
-rw-r--r--test/parallel/test-bootstrap-modules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-bootstrap-modules.js b/test/parallel/test-bootstrap-modules.js
index 272dec4006..8f83194cbb 100644
--- a/test/parallel/test-bootstrap-modules.js
+++ b/test/parallel/test-bootstrap-modules.js
@@ -9,7 +9,7 @@ const common = require('../common');
const assert = require('assert');
const isMainThread = common.isMainThread;
-const kMaxModuleCount = isMainThread ? 56 : 78;
+const kMaxModuleCount = isMainThread ? 58 : 80;
assert(list.length <= kMaxModuleCount,
`Total length: ${list.length}\n` + list.join('\n')