Commit 86d75a64 by Marcus Efraimsson Committed by GitHub

Merge pull request #12737 from dehrax/12224-singlestat

Karma to Jest: singlestat
parents 715c82b6 766c23a1
...@@ -34,6 +34,9 @@ describe('GraphCtrl', () => { ...@@ -34,6 +34,9 @@ describe('GraphCtrl', () => {
beforeEach(() => { beforeEach(() => {
ctx.ctrl = new GraphCtrl(scope, injector, {}); ctx.ctrl = new GraphCtrl(scope, injector, {});
ctx.ctrl.events = {
emit: () => {},
};
ctx.ctrl.annotationsPromise = Promise.resolve({}); ctx.ctrl.annotationsPromise = Promise.resolve({});
ctx.ctrl.updateTimeRange(); 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