Added test for LineChartCard

This commit is contained in:
Alejandro Celaya
2020-05-30 10:41:46 +02:00
parent a42f5ab13e
commit c5cb0dcb26
2 changed files with 70 additions and 16 deletions

View File

@@ -23,22 +23,10 @@ const propTypes = {
};
const steps = [
{
value: 'monthly',
menuText: 'Month',
},
{
value: 'weekly',
menuText: 'Week',
},
{
value: 'daily',
menuText: 'Day',
},
{
value: 'hourly',
menuText: 'Hour',
},
{ value: 'monthly', menuText: 'Month' },
{ value: 'weekly', menuText: 'Week' },
{ value: 'daily', menuText: 'Day' },
{ value: 'hourly', menuText: 'Hour' },
];
const STEP_TO_DATE_FORMAT = {