Remove extra mock
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user