Skip to content

Commit 221ad0e

Browse files
committed
Update test so it properly exists.
1 parent 2e60f87 commit 221ad0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test-terminal.js

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ exports['test_prompt'] = function(test, assert) {
111111
assert.match(err.message, /invalid default option/i);
112112
}
113113

114+
process.stdin.destroy();
115+
114116
// Test normal flow
115117
var mockStdinInstance = new MockStdin();
116118
process.openStdin = function() {

0 commit comments

Comments
 (0)