2018-09-25 04:50:55 -05:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Render should render component 1`] = `
|
2018-11-16 12:21:13 -06:00
|
|
|
<Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
<div
|
2018-10-24 04:25:49 -05:00
|
|
|
className="explore-graph"
|
|
|
|
id="graph"
|
|
|
|
style={
|
|
|
|
Object {
|
2019-02-05 07:09:25 -06:00
|
|
|
"height": 100,
|
2018-09-25 04:50:55 -05:00
|
|
|
}
|
2018-10-24 04:25:49 -05:00
|
|
|
}
|
|
|
|
/>
|
2019-05-14 01:46:35 -05:00
|
|
|
<GraphLegend
|
|
|
|
displayMode="list"
|
|
|
|
items={
|
2018-10-24 04:25:49 -05:00
|
|
|
Array [
|
|
|
|
Object {
|
2019-05-14 01:46:35 -05:00
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
2018-10-24 04:25:49 -05:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2019-05-14 01:46:35 -05:00
|
|
|
onLabelClick={[Function]}
|
|
|
|
placement="under"
|
2018-10-24 04:25:49 -05:00
|
|
|
/>
|
2018-11-16 12:21:13 -06:00
|
|
|
</Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Render should render component with disclaimer 1`] = `
|
2018-11-16 12:21:13 -06:00
|
|
|
<Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
<div
|
|
|
|
className="time-series-disclaimer"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
className="fa fa-fw fa-warning disclaimer-icon"
|
|
|
|
/>
|
2018-09-28 05:58:01 -05:00
|
|
|
Showing only 20 time series.
|
2018-09-25 04:50:55 -05:00
|
|
|
<span
|
|
|
|
className="show-all-time-series"
|
|
|
|
onClick={[Function]}
|
|
|
|
>
|
|
|
|
Show all 27
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
2018-10-24 04:25:49 -05:00
|
|
|
className="explore-graph"
|
|
|
|
id="graph"
|
|
|
|
style={
|
|
|
|
Object {
|
2019-02-05 07:09:25 -06:00
|
|
|
"height": 100,
|
2018-09-25 04:50:55 -05:00
|
|
|
}
|
2018-10-24 04:25:49 -05:00
|
|
|
}
|
|
|
|
/>
|
2019-05-14 01:46:35 -05:00
|
|
|
<GraphLegend
|
|
|
|
displayMode="list"
|
|
|
|
items={
|
2018-10-24 04:25:49 -05:00
|
|
|
Array [
|
|
|
|
Object {
|
2019-05-14 01:46:35 -05:00
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"isVisible": true,
|
|
|
|
"label": undefined,
|
|
|
|
"yAxis": 1,
|
2018-10-24 04:25:49 -05:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2019-05-14 01:46:35 -05:00
|
|
|
onLabelClick={[Function]}
|
|
|
|
placement="under"
|
2018-10-24 04:25:49 -05:00
|
|
|
/>
|
2018-11-16 12:21:13 -06:00
|
|
|
</Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Render should show query return no time series 1`] = `
|
2018-11-16 12:21:13 -06:00
|
|
|
<Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
<div
|
2018-10-24 04:25:49 -05:00
|
|
|
className="explore-graph"
|
|
|
|
id="graph"
|
|
|
|
style={
|
|
|
|
Object {
|
2019-02-05 07:09:25 -06:00
|
|
|
"height": 100,
|
2018-10-22 10:51:42 -05:00
|
|
|
}
|
2018-10-24 04:25:49 -05:00
|
|
|
}
|
|
|
|
/>
|
2019-05-14 01:46:35 -05:00
|
|
|
<GraphLegend
|
|
|
|
displayMode="list"
|
|
|
|
items={Array []}
|
|
|
|
onLabelClick={[Function]}
|
|
|
|
placement="under"
|
2018-10-24 04:25:49 -05:00
|
|
|
/>
|
2018-11-16 12:21:13 -06:00
|
|
|
</Fragment>
|
2018-09-25 04:50:55 -05:00
|
|
|
`;
|