Explorar o código

Figuring out why it doesn't initialize

Tobias Skarhed %!s(int64=7) %!d(string=hai) anos
pai
achega
bb0af52d34

+ 2 - 1
public/app/plugins/datasource/influxdb/specs/query_ctrl.jest.ts

@@ -16,8 +16,9 @@ describe('InfluxDBQueryCtrl', function() {
   };
 
   InfluxQueryCtrl.prototype.panelCtrl = {
+    target: { target: {} },
     panel: {
-      targets: [{}],
+      targets: [this.target],
     },
   };