spec: process.stdout should have isTTY defined

This commit is contained in:
Cheng Zhao 2015-09-07 21:34:15 +08:00
parent d7ec0b99fd
commit 8912b404a9

View file

@ -137,3 +137,6 @@ describe 'node feature', ->
describe 'process.stdout', -> describe 'process.stdout', ->
it 'should not throw exception', -> it 'should not throw exception', ->
process.stdout process.stdout
it 'should have isTTY defined', ->
assert.equal typeof(process.stdout.isTTY), 'boolean'