fix(explore): migrate from window.history to React Router history API (#38887)

This commit is contained in:
Kamil Gabryjelski
2026-03-27 16:49:54 +01:00
committed by GitHub
parent 65eae027fa
commit fc705d94e3
9 changed files with 217 additions and 112 deletions

View File

@@ -381,7 +381,7 @@ test('removes form_data_key from URL parameters after save', () => {
// other parameters should remain
expect(result.get('other_param')).toEqual('value');
expect(result.get('slice_id')).toEqual('1');
expect(result.get('save_action')).toEqual('overwrite');
expect(result.has('save_action')).toBe(false);
});
test('dispatches removeChartState when saving and going to dashboard', async () => {