Skip to content

Commit

Permalink
CI: Try fix 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Mar 16, 2015
1 parent d72463d commit e69d50d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down Expand Up @@ -145,7 +147,11 @@ describe('cli', function() {
fs.unlinkSync(src);
done();
});

bin.stderr.once('close', function() {
assert(false);
fs.unlinkSync(src);
done();
});
setTimeout(function() {
fs.appendFileSync(src, 'body {}');
}, 500);
Expand Down

0 comments on commit e69d50d

Please sign in to comment.