mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
graph: fix karma tests
This commit is contained in:
parent
0c3e04ca60
commit
6b4b7969fe
@ -87,6 +87,8 @@ describe('grafanaGraph', function() {
|
||||
|
||||
$.plot = ctx.plotSpy = sinon.spy();
|
||||
ctrl.events.emit('render', ctx.data);
|
||||
ctrl.events.emit('render-legend');
|
||||
ctrl.events.emit('legend-rendering-complete');
|
||||
ctx.plotData = ctx.plotSpy.getCall(0).args[1];
|
||||
ctx.plotOptions = ctx.plotSpy.getCall(0).args[2];
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user