mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added this:any to functions and changed functions to arrowfunctions
This commit is contained in:
@@ -3,7 +3,7 @@ import { VariableSrv } from '../variable_srv';
|
||||
import moment from 'moment';
|
||||
import $q from 'q';
|
||||
|
||||
describe('VariableSrv', function() {
|
||||
describe('VariableSrv', function(this: any) {
|
||||
const ctx = <any>{
|
||||
datasourceSrv: {},
|
||||
timeSrv: {
|
||||
|
||||
@@ -4,7 +4,7 @@ import _ from 'lodash';
|
||||
import { VariableSrv } from '../variable_srv';
|
||||
import $q from 'q';
|
||||
|
||||
describe('VariableSrv init', function() {
|
||||
describe('VariableSrv init', function(this: any) {
|
||||
const templateSrv = {
|
||||
init: vars => {
|
||||
this.variables = vars;
|
||||
|
||||
Reference in New Issue
Block a user