Windows compatibility #19

Hide WebP format and normalise option

Separate test runners for node and iojs
This commit is contained in:
Lovell Fuller
2015-04-21 12:13:19 +01:00
parent 8926ebc56c
commit 1e52c2dbe6
13 changed files with 231 additions and 206 deletions

View File

@@ -806,8 +806,10 @@ describe('Input/output', function() {
.toBuffer(function(err) {
sharp.queue.removeListener('change', queueListener);
if (err) throw err;
assert.strictEqual(2, eventCounter);
done();
process.nextTick(function() {
assert.strictEqual(2, eventCounter);
done();
});
});
});