mirror of
https://github.com/apache/superset.git
synced 2026-05-10 10:25:51 +00:00
chore: Migrate /superset/favstar to API v1 (#23165)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
This commit is contained in:
@@ -91,7 +91,9 @@ jest.mock('lodash/debounce', () => ({
|
||||
fetchMock.post('glob:*/api/v1/explore/form_data*', { key: KEY });
|
||||
fetchMock.put('glob:*/api/v1/explore/form_data*', { key: KEY });
|
||||
fetchMock.get('glob:*/api/v1/explore/form_data*', {});
|
||||
fetchMock.get('glob:*/favstar/slice*', { count: 0 });
|
||||
fetchMock.get('glob:*/api/v1/chart/favorite_status*', {
|
||||
result: [{ value: true }],
|
||||
});
|
||||
|
||||
const defaultPath = '/explore/';
|
||||
const renderWithRouter = ({
|
||||
|
||||
Reference in New Issue
Block a user