Commit 766c23a1 by Tobias Skarhed

Fix emit errors

parent 2db4a54f
......@@ -34,6 +34,9 @@ describe('GraphCtrl', () => {
beforeEach(() => {
ctx.ctrl = new GraphCtrl(scope, injector, {});
ctx.ctrl.events = {
emit: () => {},
};
ctx.ctrl.annotationsPromise = Promise.resolve({});
ctx.ctrl.updateTimeRange();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment