mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +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:
@@ -79,7 +79,7 @@ describe('ExploreViewContainer', () => {
|
||||
expect(wrapper.find(ChartContainer)).toExist();
|
||||
});
|
||||
|
||||
describe('componentWillReceiveProps()', () => {
|
||||
describe('UNSAFE_componentWillReceiveProps()', () => {
|
||||
it('when controls change, should call resetControls', () => {
|
||||
expect(wrapper.instance().props.controls.viz_type.value).toBe('table');
|
||||
const resetControls = sinon.stub(
|
||||
@@ -91,7 +91,7 @@ describe('ExploreViewContainer', () => {
|
||||
'triggerQuery',
|
||||
);
|
||||
|
||||
// triggers componentWillReceiveProps
|
||||
// triggers UNSAFE_componentWillReceiveProps
|
||||
wrapper.setProps({
|
||||
controls: {
|
||||
viz_type: {
|
||||
|
||||
Reference in New Issue
Block a user