فهرست منبع

Remove apparently unnecessary .flush() calls.

Alin Sinpalean 8 سال پیش
والد
کامیت
9cf7a2d2ed
1فایلهای تغییر یافته به همراه0 افزوده شده و 8 حذف شده
  1. 0 8
      public/app/plugins/datasource/prometheus/specs/datasource_specs.ts

+ 0 - 8
public/app/plugins/datasource/prometheus/specs/datasource_specs.ts

@@ -278,10 +278,6 @@ describe('PrometheusDatasource', function() {
       }
       }
     };
     };
 
 
-    beforeEach(function() {
-      ctx.$httpBackend.flush();
-    });
-
     it('should be min interval when greater than auto interval', function() {
     it('should be min interval when greater than auto interval', function() {
       var query = {
       var query = {
         // 6 hour range
         // 6 hour range
@@ -420,10 +416,6 @@ describe('PrometheusDatasource', function() {
       }
       }
     };
     };
 
 
-    beforeEach(function() {
-      ctx.$httpBackend.flush();
-    });
-
     it('should be unchanged when auto interval is greater than min interval', function() {
     it('should be unchanged when auto interval is greater than min interval', function() {
       var query = {
       var query = {
         // 6 hour range
         // 6 hour range