mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changed var to let in last files (#13087)
This commit is contained in:
committed by
Torkel Ödegaard
parent
ceadced6f0
commit
b494a29e02
@@ -55,8 +55,8 @@ describe('DateMath', () => {
|
||||
});
|
||||
|
||||
describe('subtraction', () => {
|
||||
var now;
|
||||
var anchored;
|
||||
let now;
|
||||
let anchored;
|
||||
|
||||
beforeEach(() => {
|
||||
clock = sinon.useFakeTimers(unix);
|
||||
@@ -83,7 +83,7 @@ describe('DateMath', () => {
|
||||
});
|
||||
|
||||
describe('rounding', () => {
|
||||
var now;
|
||||
let now;
|
||||
|
||||
beforeEach(() => {
|
||||
clock = sinon.useFakeTimers(unix);
|
||||
|
||||
@@ -26,7 +26,7 @@ describe('when sorting table desc', () => {
|
||||
});
|
||||
|
||||
describe('when sorting table asc', () => {
|
||||
var table;
|
||||
let table;
|
||||
const panel = {
|
||||
sort: { col: 1, desc: false },
|
||||
};
|
||||
@@ -46,8 +46,8 @@ describe('when sorting table asc', () => {
|
||||
});
|
||||
|
||||
describe('when sorting with nulls', () => {
|
||||
var table;
|
||||
var values;
|
||||
let table;
|
||||
let values;
|
||||
|
||||
beforeEach(() => {
|
||||
table = new TableModel();
|
||||
|
||||
@@ -174,7 +174,7 @@ describe('TimeSeries', function() {
|
||||
});
|
||||
|
||||
describe('can detect if series contains ms precision', function() {
|
||||
var fakedata;
|
||||
let fakedata;
|
||||
|
||||
beforeEach(function() {
|
||||
fakedata = testData;
|
||||
@@ -194,7 +194,7 @@ describe('TimeSeries', function() {
|
||||
});
|
||||
|
||||
describe('series overrides', function() {
|
||||
var series;
|
||||
let series;
|
||||
beforeEach(function() {
|
||||
series = new TimeSeries(testData);
|
||||
});
|
||||
@@ -313,7 +313,7 @@ describe('TimeSeries', function() {
|
||||
});
|
||||
|
||||
describe('value formatter', function() {
|
||||
var series;
|
||||
let series;
|
||||
beforeEach(function() {
|
||||
series = new TimeSeries(testData);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user