Commit 27c08134 by Tobias Skarhed

Remove old influx stuff

parent 51caf470
...@@ -338,7 +338,7 @@ export class InfluxQueryCtrl extends QueryCtrl { ...@@ -338,7 +338,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
this.tagSegments.push(this.uiSegmentSrv.newPlusButton()); this.tagSegments.push(this.uiSegmentSrv.newPlusButton());
} }
} }
console.log(this.tagSegments);
this.rebuildTargetTagConditions(); this.rebuildTargetTagConditions();
} }
......
...@@ -57,13 +57,11 @@ describe('InfluxDBQueryCtrl', function() { ...@@ -57,13 +57,11 @@ describe('InfluxDBQueryCtrl', function() {
}); });
it('should update tag key', function() { it('should update tag key', function() {
console.log(ctx.ctrl.target.tags);
expect(ctx.ctrl.target.tags[0].key).to.be('asd'); expect(ctx.ctrl.target.tags[0].key).to.be('asd');
expect(ctx.ctrl.tagSegments[0].type).to.be('key'); expect(ctx.ctrl.tagSegments[0].type).to.be('key');
}); });
it('should add tagSegments', function() { it('should add tagSegments', function() {
console.log(ctx.ctrl.tagSegments);
expect(ctx.ctrl.tagSegments.length).to.be(3); expect(ctx.ctrl.tagSegments.length).to.be(3);
}); });
}); });
......
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