Do not autorun query on tab duplicate (#8577)

* Pass autorun argument to cloneQueryToNewTab

* Accept autorun argument

* Fix unit test
This commit is contained in:
Beto Dealmeida
2019-11-14 17:08:03 -08:00
committed by GitHub
parent 26c55bd57a
commit 9044f210ee
4 changed files with 5 additions and 5 deletions

View File

@@ -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);
});
});