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
6f3ca261
Unverified
Commit
6f3ca261
authored
Mar 25, 2020
by
Hugo Häggmark
Committed by
GitHub
Mar 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: fixes test data in processDataFrame.test.ts (#23058)
parent
65d97edb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
packages/grafana-data/src/dataframe/processDataFrame.test.ts
+6
-4
No files found.
packages/grafana-data/src/dataframe/processDataFrame.test.ts
View file @
6f3ca261
...
...
@@ -7,7 +7,7 @@ import {
toDataFrame
,
toLegacyResponseData
,
}
from
'./processDataFrame'
;
import
{
DataFrameDTO
,
FieldType
,
QueryResultMeta
,
TableData
,
TimeSeries
}
from
'../types/index'
;
import
{
DataFrameDTO
,
FieldType
,
TableData
,
TimeSeries
}
from
'../types/index'
;
import
{
dateTime
}
from
'../datetime/moment_wrapper'
;
import
{
MutableDataFrame
}
from
'./MutableDataFrame'
;
...
...
@@ -227,9 +227,11 @@ describe('SerisData backwards compatibility', () => {
it
(
'can convert DataFrame to TableData to series and back again'
,
()
=>
{
const
json
:
DataFrameDTO
=
{
refId
:
'Z'
,
meta
:
({
something
:
8
,
}
as
unknown
)
as
QueryResultMeta
,
meta
:
{
custom
:
{
something
:
8
,
},
},
fields
:
[
{
name
:
'T'
,
type
:
FieldType
.
time
,
values
:
[
1
,
2
,
3
]
},
{
name
:
'N'
,
type
:
FieldType
.
number
,
config
:
{
filterable
:
true
},
values
:
[
100
,
200
,
300
]
},
...
...
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