diff options
author | cjihrig <cjihrig@gmail.com> | 2018-08-23 10:20:12 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-08-29 12:28:51 -0400 |
commit | df073cdda4d9f3afb5ae7a5dd0bd153537b66181 (patch) | |
tree | 81e9886842ec2cd1aab4218d01c1d43c393864a6 /test/parallel/test-tty-backwards-api.js | |
parent | 1abbe0a2123e8333922894258389c2d5c1568472 (diff) | |
download | android-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.tar.gz android-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.tar.bz2 android-node-v8-df073cdda4d9f3afb5ae7a5dd0bd153537b66181.zip |
tty: make process.binding('tty_wrap') internal
PR-URL: https://github.com/nodejs/node/pull/22477
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/parallel/test-tty-backwards-api.js')
-rw-r--r-- | test/parallel/test-tty-backwards-api.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-tty-backwards-api.js b/test/parallel/test-tty-backwards-api.js index 547184728e..7b6dc3c092 100644 --- a/test/parallel/test-tty-backwards-api.js +++ b/test/parallel/test-tty-backwards-api.js @@ -1,8 +1,10 @@ +// Flags: --expose-internals 'use strict'; const common = require('../common'); const noop = () => {}; -const TTY = process.binding('tty_wrap').TTY = function() {}; +const { internalBinding } = require('internal/test/binding'); +const TTY = internalBinding('tty_wrap').TTY = function() {}; TTY.prototype = { setBlocking: noop, |