mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
refactor: Upgrade Redux (#11967)
* upgrade redux and react-redux, adjust types * first round of test fixes * fix rest of unit tests * lint Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
This commit is contained in:
committed by
GitHub
parent
9121482479
commit
6270fa2026
@@ -39,12 +39,10 @@ describe('QueryAutoRefresh', () => {
|
||||
sqlLab,
|
||||
};
|
||||
const store = mockStore(state);
|
||||
|
||||
const getWrapper = () =>
|
||||
shallow(<QueryAutoRefresh />, {
|
||||
context: { store },
|
||||
}).dive();
|
||||
|
||||
shallow(<QueryAutoRefresh store={store} />)
|
||||
.dive()
|
||||
.dive();
|
||||
let wrapper;
|
||||
|
||||
it('shouldCheckForQueries', () => {
|
||||
|
||||
Reference in New Issue
Block a user