Added precision 0 to charts, to avoid having decimals

This commit is contained in:
Alejandro Celaya
2020-05-07 11:06:14 +02:00
parent 61c027f9a1
commit 59fda29894
3 changed files with 3 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ describe('<GraphCard />', () => {
expect(scales).toEqual({
xAxes: [
{
ticks: { beginAtZero: true },
ticks: { beginAtZero: true, precision: 0 },
stacked: true,
},
],