Add missing {}
This commit is contained in:
parent
4d20c4f3fd
commit
e4e4e8b2eb
1 changed files with 3 additions and 2 deletions
|
@ -236,10 +236,11 @@ describe('node feature', function () {
|
|||
it('should have isTTY defined on Mac and Linux', function () {
|
||||
if (isCI) return
|
||||
|
||||
if (process.platform === 'win32')
|
||||
if (process.platform === 'win32') {
|
||||
assert.equal(process.stdout.isTTY, undefined)
|
||||
else
|
||||
} else {
|
||||
assert.equal(typeof process.stdout.isTTY, 'boolean')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue