async-writer no longer patches "finish" event for the through module

This commit is contained in:
Patrick Steele-Idem 2015-05-27 14:05:08 -06:00
parent 12388ff732
commit 84fd60ce83

View File

@ -65,7 +65,7 @@ describe('marko/api' , function() {
var out = marko.createWriter(stream);
out
.on('finish', function() {
.on('end', function() {
expect(output).to.equal('Hello John!');
done();
})
@ -151,7 +151,7 @@ describe('marko/api' , function() {
});
var out = marko.createWriter(stream)
.on('finish', function() {
.on('end', function() {
expect(output).to.equal('Hello John!');
done();
})