100% test coverage
This commit is contained in:
parent
7377b34cec
commit
e077488a79
@ -48,7 +48,7 @@ describe('EventBus', function() {
|
|||||||
bus.register(FooEvent, function(e) {
|
bus.register(FooEvent, function(e) {
|
||||||
var b = new BarEvent();
|
var b = new BarEvent();
|
||||||
b.y = e.x;
|
b.y = e.x;
|
||||||
return [b];
|
return b;
|
||||||
});
|
});
|
||||||
bus.register(BarEvent, function(e) {
|
bus.register(BarEvent, function(e) {
|
||||||
e.y.should.equal(foo.x);
|
e.y.should.equal(foo.x);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user