diff options
Diffstat (limited to 'test/pseudo-tty/test-tty-window-size.js')
-rw-r--r-- | test/pseudo-tty/test-tty-window-size.js | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |