mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
through streams only emit "finish" event
This commit is contained in:
parent
b96ee8b4cb
commit
dc9a66c2b3
@ -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