Skip to content

Commit

Permalink
Improve EventStream test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
albe committed Aug 4, 2017
1 parent 78e5610 commit 73b6d2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/EventStream.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ describe('EventStream', function() {
expect(stream.events).to.eql(events);
});

it('returns all events consistently', function(){
expect(stream.events).to.eql(stream.events);
});

it('can be iterated with for .. of', function(){
let i = 0;
for (let event of stream) {
Expand Down

0 comments on commit 73b6d2d

Please sign in to comment.