Remove extra mock

This commit is contained in:
Tobias Skarhed
2018-07-27 16:46:41 +02:00
parent 26f709e87e
commit 805dc3542f
@@ -5,26 +5,23 @@ describe('HeatmapCtrl', function() {
let ctx = <any>{};
let $injector = {
get: () => {}
get: () => {},
};
let $scope = {
$on: () => {},
events: {
on: () => {}
}
};
HeatmapCtrl.prototype.panel = {
HeatmapCtrl.prototype.panel = {
events: {
on: () => {},
emit: () => {}
}
};
on: () => {},
emit: () => {},
},
};
beforeEach(() => {
ctx.ctrl = new HeatmapCtrl($scope, $injector, {});
});
beforeEach(() => {
ctx.ctrl = new HeatmapCtrl($scope, $injector, {});
});
describe('when time series are outside range', function() {
beforeEach(function() {