mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
refactor: use rison for list view filters stateful urls (#11675)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import { mount, shallow } from 'enzyme';
|
||||
import { styledMount as mount } from 'spec/helpers/theming';
|
||||
import { act } from 'react-dom/test-utils';
|
||||
import { QueryParamProvider } from 'use-query-params';
|
||||
import { supersetTheme, ThemeProvider } from '@superset-ui/core';
|
||||
@@ -338,7 +338,7 @@ describe('ListView', () => {
|
||||
filters: [...mockedProps.filters, { id: 'some_column' }],
|
||||
};
|
||||
expect(() => {
|
||||
shallow(<ListView {...props} />, {
|
||||
mount(<ListView {...props} />, {
|
||||
wrappingComponent: ThemeProvider,
|
||||
wrappingComponentProps: { theme: supersetTheme },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user