Skip to content

Commit 2069bcf

Browse files
committed
CI: Try fix 1.
1 parent d72463d commit 2069bcf

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

test/cli.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ var assert = require('assert'),
77
fixture = path.join.bind(null, __dirname, 'fixtures');
88

99
describe('cli', function() {
10+
this.timeout(0);
11+
1012
describe('node-sass < in.scss', function() {
1113
it('should read data from stdin', function(done) {
1214
var src = fs.createReadStream(fixture('simple/index.scss'));
@@ -145,7 +147,16 @@ describe('cli', function() {
145147
fs.unlinkSync(src);
146148
done();
147149
});
148-
150+
bin.once('close', function() {console.log('entered close');
151+
assert(false);
152+
fs.unlinkSync(src);
153+
done();
154+
});
155+
bin.once('exit', function() {console.log('entered exit');
156+
assert(false);
157+
fs.unlinkSync(src);
158+
done();
159+
});
149160
setTimeout(function() {
150161
fs.appendFileSync(src, 'body {}');
151162
}, 500);

0 commit comments

Comments
 (0)