Fix emit errors
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user