mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
Do not autorun query on tab duplicate (#8577)
* Pass autorun argument to cloneQueryToNewTab * Accept autorun argument * Fix unit test
This commit is contained in:
@@ -278,7 +278,7 @@ describe('async actions', () => {
|
||||
id: 'abcd',
|
||||
},
|
||||
}];
|
||||
return store.dispatch(actions.cloneQueryToNewTab(query)).then(() => {
|
||||
return store.dispatch(actions.cloneQueryToNewTab(query, true)).then(() => {
|
||||
expect(store.getActions()).toEqual(expectedActions);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user