Removed no longer needed constants

This commit is contained in:
Alejandro Celaya
2019-04-19 12:54:56 +02:00
parent 33d67cbe3d
commit ba3189fd46
5 changed files with 6 additions and 12 deletions

View File

@@ -76,9 +76,8 @@ describe('<ShortUrlVisits />', () => {
const wrapper = createComponent({ loading: false, error: false, visits: [{}, {}, {}] });
const graphs = wrapper.find(GraphCard);
const sortableBarGraphs = wrapper.find(SortableBarGraph);
const expectedGraphsCount = 5;
expect(graphs.length + sortableBarGraphs.length).toEqual(expectedGraphsCount);
expect(graphs.length + sortableBarGraphs.length).toEqual(5);
});
it('reloads visits when selected dates change', () => {