Assert isTTY is undefined on Windows
This commit is contained in:
parent
638c96345d
commit
63e9bc4804
1 changed files with 5 additions and 2 deletions
|
@ -233,9 +233,12 @@ describe('node feature', function () {
|
|||
})
|
||||
})
|
||||
|
||||
it('should have isTTY defined', function () {
|
||||
it('should have isTTY defined on Mac and Linux', function () {
|
||||
if (isCI) return
|
||||
|
||||
if (process.platform === 'win32')
|
||||
assert.equal(process.stdout.isTTY, undefined)
|
||||
else
|
||||
assert.equal(typeof process.stdout.isTTY, 'boolean')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue