Skip to content

Commit fafd740

Browse files
committed
more logs
1 parent 41a89ec commit fafd740

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/unit/test/streaming/streaming.controllers.StreamController.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,11 @@ describe('StreamController', function () {
212212
console.log('stream teardown event triggered');
213213
});
214214
let spy = chai.spy();
215-
eventBus.on(Events.STREAM_TEARDOWN_COMPLETE, spy);
215+
eventBus.on(Events.STREAM_TEARDOWN_COMPLETE, () => {
216+
console.log('calling spy', spy);
217+
spy();
218+
console.log('called spy', spy);
219+
});
216220

217221
eventBus.trigger(Events.MANIFEST_UPDATED, { error: {} });
218222
expect(spy).to.have.been.called.exactly(1);

0 commit comments

Comments
 (0)