fix: adds pagination/infinite scroll to owners select in DashboardList and ChartList (#10035)

This commit is contained in:
ʈᵃᵢ
2020-06-17 16:27:21 -07:00
committed by GitHub
parent be6b9b8fec
commit c914af0bc4
9 changed files with 89 additions and 14 deletions

View File

@@ -329,6 +329,7 @@ describe('ListView with new UI filters', () => {
id: 'age',
input: 'select',
fetchSelects: fetchSelectsMock,
paginate: true,
operator: 'eq',
},
],
@@ -347,10 +348,6 @@ describe('ListView with new UI filters', () => {
expect(wrapper.find(ListViewFilters)).toHaveLength(1);
});
it('fetched selects if function is provided', () => {
expect(fetchSelectsMock).toHaveBeenCalled();
});
it('calls fetchData on filter', () => {
act(() => {
wrapper