mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
core: fix linting errors in specs files
This commit is contained in:
parent
87f5222907
commit
e61b392916
@ -1,4 +1,4 @@
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common'
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common';
|
||||
|
||||
import * as dateMath from 'app/core/utils/datemath';
|
||||
import moment from 'moment';
|
||||
@ -42,7 +42,7 @@ describe("DateMath", () => {
|
||||
expected.setSeconds(0);
|
||||
expected.setMilliseconds(0);
|
||||
|
||||
var startOfDay = dateMath.parse('now/d', false).valueOf()
|
||||
var startOfDay = dateMath.parse('now/d', false).valueOf();
|
||||
expect(startOfDay).to.be(expected.getTime());
|
||||
});
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common'
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common';
|
||||
|
||||
import {Emitter} from 'app/core/core';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common'
|
||||
import {describe, beforeEach, it, sinon, expect} from 'test/lib/common';
|
||||
|
||||
import flatten from 'app/core/utils/flatten';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user