mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
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