diff options
author | Rich Trott <rtrott@gmail.com> | 2021-02-24 22:30:50 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-02-28 16:46:26 +0300 |
commit | 4cc76457d939ccf2bf6008a262d94229c704525a (patch) | |
tree | da4cd86238b675a9c2821a3e981ff7fe8a62953d /test | |
parent | 46af56752ee4cb9d152ccf3b3bd2942b167d9f9a (diff) |
stream: move duplicated code to an internal module
Create a utils module for isIterable(), isReadable(), and isStream().
PR-URL: https://github.com/nodejs/node/pull/37508
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-bootstrap-modules.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-bootstrap-modules.js b/test/parallel/test-bootstrap-modules.js index db8d9eaa434..27202dee504 100644 --- a/test/parallel/test-bootstrap-modules.js +++ b/test/parallel/test-bootstrap-modules.js @@ -98,6 +98,7 @@ const expectedModules = new Set([ 'NativeModule internal/streams/readable', 'NativeModule internal/streams/state', 'NativeModule internal/streams/transform', + 'NativeModule internal/streams/utils', 'NativeModule internal/streams/writable', 'NativeModule internal/timers', 'NativeModule internal/url', |