Ensured bar charts are regenerated when their height changes

This commit is contained in:
Alejandro Celaya
2019-03-16 09:02:10 +01:00
parent e0db6d5a57
commit 391424d8a1
4 changed files with 13 additions and 33 deletions

View File

@@ -39,7 +39,7 @@ describe('<GraphCard />', () => {
]);
expect(borderColor).toEqual('white');
expect(legend).toEqual({ position: 'right' });
expect(scales).toBeNull();
expect(scales).toBeUndefined();
});
it('renders HorizontalBar when is not a bar chart', () => {