diff --git a/spec/node-spec.js b/spec/node-spec.js index 6d83b5ee483f..3eb7211c6da5 100644 --- a/spec/node-spec.js +++ b/spec/node-spec.js @@ -233,10 +233,13 @@ describe('node feature', function () { }) }) - it('should have isTTY defined', function () { + it('should have isTTY defined on Mac and Linux', function () { if (isCI) return - assert.equal(typeof process.stdout.isTTY, 'boolean') + if (process.platform === 'win32') + assert.equal(process.stdout.isTTY, undefined) + else + assert.equal(typeof process.stdout.isTTY, 'boolean') }) })