Removed last reference to graph instead of chart

This commit is contained in:
Alejandro Celaya 2021-09-18 19:09:31 +02:00
parent f89e4244ea
commit 6d79851d18

View file

@ -85,7 +85,7 @@ describe('<VisitStats />', () => {
expect(table).toHaveLength(1); expect(table).toHaveLength(1);
}); });
it('holds the map button content generator on cities graph extraHeaderContent', () => { it('holds the map button content generator on cities chart extraHeaderContent', () => {
const wrapper = createComponent({ loading: false, error: false, visits }); const wrapper = createComponent({ loading: false, error: false, visits });
const citiesChart = wrapper.find(SortableBarChartCard).find('[title="Cities"]'); const citiesChart = wrapper.find(SortableBarChartCard).find('[title="Cities"]');
const extraHeaderContent = citiesChart.prop('extraHeaderContent'); const extraHeaderContent = citiesChart.prop('extraHeaderContent');