diff --git a/test/cli.js b/test/cli.js index 78edace4a..ffd478994 100644 --- a/test/cli.js +++ b/test/cli.js @@ -7,6 +7,8 @@ var assert = require('assert'), fixture = path.join.bind(null, __dirname, 'fixtures'); describe('cli', function() { + this.timeout(0); + describe('node-sass < in.scss', function() { it('should read data from stdin', function(done) { var src = fs.createReadStream(fixture('simple/index.scss')); @@ -145,7 +147,11 @@ describe('cli', function() { fs.unlinkSync(src); done(); }); - + bin.stderr.once('exit', function() { + assert(false); + fs.unlinkSync(src); + done(); + }); setTimeout(function() { fs.appendFileSync(src, 'body {}'); }, 500);