summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-stdin-push-null.js
blob: 53ba9ff7c3316624009d2c80498bc5c5fb6a150c (plain)
1
2
3
4
5
6
7
8
9
'use strict';
const common = require('../common');

if (!process.stdin.isTTY) {
  common.skip('does not apply on non-TTY stdin');
}

process.stdin.destroy();
process.stdin.setRawMode(true);