Procházet zdrojové kódy

remove unnecessary spy

thatsparesh před 6 roky
rodič
revize
716db35fae
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/test/specs/helpers.ts

+ 1 - 1
public/test/specs/helpers.ts

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