]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: process.stdout should have isTTY defined
authorCheng Zhao <zcbenz@gmail.com>
Mon, 7 Sep 2015 13:34:15 +0000 (21:34 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 7 Sep 2015 13:37:17 +0000 (21:37 +0800)
spec/node-spec.coffee

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