Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e61b3929
Commit
e61b3929
authored
May 17, 2017
by
Daniel Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix linting errors in specs files
parent
87f52229
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
public/test/core/utils/datemath_specs.ts
+2
-2
public/test/core/utils/emitter_specs.ts
+1
-1
public/test/core/utils/flatten_specs.ts
+1
-1
No files found.
public/test/core/utils/datemath_specs.ts
View file @
e61b3929
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
());
});
...
...
public/test/core/utils/emitter_specs.ts
View file @
e61b3929
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'
;
...
...
public/test/core/utils/flatten_specs.ts
View file @
e61b3929
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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment