Commit 716db35f by thatsparesh

remove unnecessary spy

parent 1f3fafb1
...@@ -143,7 +143,7 @@ export function DashboardViewStateStub(this: any) { ...@@ -143,7 +143,7 @@ export function DashboardViewStateStub(this: any) {
} }
export function TimeSrvStub(this: any) { export function TimeSrvStub(this: any) {
this.init = sinon.spy(); this.init = () => {};
this.time = { from: 'now-1h', to: 'now' }; this.time = { from: 'now-1h', to: 'now' };
this.timeRange = function(parse) { this.timeRange = function(parse) {
if (parse === false) { if (parse === false) {
......
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