fix(table-viz): JS error when sort time column (#10250)

This commit is contained in:
Jesse Yang
2020-07-07 21:28:09 -07:00
committed by GitHub
parent f849103374
commit e5761d3cf7
7 changed files with 253 additions and 276 deletions

View File

@@ -105,7 +105,7 @@ describe('ChartList', () => {
const callsD = fetchMock.calls(/chart\/\?q/);
expect(callsD).toHaveLength(1);
expect(callsD[0][0]).toMatchInlineSnapshot(
`"/http//localhost/api/v1/chart/?q=(order_column:changed_on,order_direction:desc,page:0,page_size:25)"`,
`"http://localhost/api/v1/chart/?q=(order_column:changed_on,order_direction:desc,page:0,page_size:25)"`,
);
});
});