From df073cdda4d9f3afb5ae7a5dd0bd153537b66181 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 23 Aug 2018 10:20:12 -0400 Subject: tty: make process.binding('tty_wrap') internal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/22477 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Michaƫl Zasso --- test/pseudo-tty/test-tty-window-size.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/pseudo-tty/test-tty-window-size.js') diff --git a/test/pseudo-tty/test-tty-window-size.js b/test/pseudo-tty/test-tty-window-size.js index 782b66802e..2a9891bd19 100644 --- a/test/pseudo-tty/test-tty-window-size.js +++ b/test/pseudo-tty/test-tty-window-size.js @@ -1,8 +1,10 @@ +// Flags: --expose-internals --no-warnings 'use strict'; const common = require('../common'); const assert = require('assert'); const { WriteStream } = require('tty'); -const { TTY } = process.binding('tty_wrap'); +const { internalBinding } = require('internal/test/binding'); +const { TTY } = internalBinding('tty_wrap'); const getWindowSize = TTY.prototype.getWindowSize; function monkeyPatchGetWindowSize(fn) { -- cgit v1.2.3