mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
async-writer no longer patches "finish" event for the through module
This commit is contained in:
parent
12388ff732
commit
84fd60ce83
@ -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();
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user