2022-05-28 13:54:33 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<LineChartCard /> renders chart with expected data 1`] = `
|
2022-10-05 00:17:12 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"a": 1,
|
|
|
|
"b": 0,
|
|
|
|
"c": 0,
|
|
|
|
"d": 1,
|
|
|
|
"e": 0,
|
|
|
|
"f": 0,
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "setTransform",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "0",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "1",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<LineChartCard /> renders chart with expected data 2`] = `
|
2022-10-05 00:17:12 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"a": 1,
|
|
|
|
"b": 0,
|
|
|
|
"c": 0,
|
|
|
|
"d": 1,
|
|
|
|
"e": 0,
|
|
|
|
"f": 0,
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "setTransform",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "0",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "1",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<LineChartCard /> renders chart with expected data 3`] = `
|
2022-10-05 00:17:12 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"a": 1,
|
|
|
|
"b": 0,
|
|
|
|
"c": 0,
|
|
|
|
"d": 1,
|
|
|
|
"e": 0,
|
|
|
|
"f": 0,
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "setTransform",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "0",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "1",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "2016-04",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<LineChartCard /> renders chart with expected data 4`] = `
|
2022-10-05 00:17:12 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"a": 1,
|
|
|
|
"b": 0,
|
|
|
|
"c": 0,
|
|
|
|
"d": 1,
|
|
|
|
"e": 0,
|
|
|
|
"f": 0,
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "setTransform",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "0",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "1",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
2022-05-28 13:54:33 +03:00
|
|
|
"text": "2016-04",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "measureText",
|
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
{
|
|
|
|
"props": {
|
|
|
|
"value": "12px "Helvetica Neue", 'Helvetica', 'Arial', sans-serif",
|
2022-05-28 13:54:33 +03:00
|
|
|
},
|
2022-10-05 00:17:12 +03:00
|
|
|
"transform": [
|
2022-05-28 13:54:33 +03:00
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
"type": "font",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
`;
|