mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: bump react-redux to 5.1.2, whittling console noise (#10602)
* chore: bump react-redux to 5.1.2 * fixing spy, and thus the breaking test. * relabeling tests to UNSAFE_componentWillReceiveProps because why not.
This commit is contained in:
@@ -73,7 +73,7 @@ describe('Dashboard', () => {
|
||||
expect(wrapper.find(DashboardBuilder)).toExist();
|
||||
});
|
||||
|
||||
describe('componentWillReceiveProps', () => {
|
||||
describe('UNSAFE_componentWillReceiveProps', () => {
|
||||
const layoutWithExtraChart = {
|
||||
...props.layout,
|
||||
1001: newComponentFactory(CHART_TYPE, { chartId: 1001 }),
|
||||
|
||||
@@ -97,7 +97,7 @@ describe('SliceAdder', () => {
|
||||
props.fetchAllSlices.restore();
|
||||
});
|
||||
|
||||
describe('componentWillReceiveProps', () => {
|
||||
describe('UNSAFE_componentWillReceiveProps', () => {
|
||||
let wrapper;
|
||||
beforeEach(() => {
|
||||
wrapper = shallow(<SliceAdder {...props} />);
|
||||
|
||||
Reference in New Issue
Block a user