mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Variables: adds onTimeRangeUpdated to newVariables (#22821)
* Feature: adds onTimeRangeUpdated to newVariables * Refactor: removes VariableWithRefresh and unused func * Refactor: adds console output when something throws as well
This commit is contained in:
@@ -55,6 +55,7 @@ export const reduxTester = <State>(args?: ReduxTesterArguments<State>): ReduxTes
|
||||
middleware: [logActionsMiddleWare, thunk],
|
||||
preloadedState,
|
||||
});
|
||||
|
||||
setStore(store as any);
|
||||
|
||||
return instance;
|
||||
@@ -67,6 +68,7 @@ export const reduxTester = <State>(args?: ReduxTesterArguments<State>): ReduxTes
|
||||
if (clearPreviousActions) {
|
||||
dispatchedActions.length = 0;
|
||||
}
|
||||
|
||||
store.dispatch(action);
|
||||
|
||||
return instance;
|
||||
|
||||
Reference in New Issue
Block a user