core: fix linting errors in specs files

This commit is contained in:
Daniel Lee 2017-05-17 13:47:44 +02:00
parent 87f5222907
commit e61b392916
3 changed files with 4 additions and 4 deletions

View File

@ -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 * as dateMath from 'app/core/utils/datemath';
import moment from 'moment'; import moment from 'moment';
@ -42,7 +42,7 @@ describe("DateMath", () => {
expected.setSeconds(0); expected.setSeconds(0);
expected.setMilliseconds(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()); expect(startOfDay).to.be(expected.getTime());
}); });

View File

@ -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'; import {Emitter} from 'app/core/core';

View File

@ -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'; import flatten from 'app/core/utils/flatten';