From: Cheng Zhao Date: Mon, 7 Sep 2015 13:34:15 +0000 (+0800) Subject: spec: process.stdout should have isTTY defined X-Git-Tag: v0.32.0~6^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8912b404a9399c8fc7d8eccdf64aef1a3f5e6ea3;p=electron.git spec: process.stdout should have isTTY defined --- diff --git a/spec/node-spec.coffee b/spec/node-spec.coffee index 16448060..d7c3b068 100644 --- a/spec/node-spec.coffee +++ b/spec/node-spec.coffee @@ -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'