var defaultUseSelectorImpl = function (selector) { return selector({}); };
var getMockedReactRedux = function () {
    return jest.requireMock('react-redux');
};
export var mockUseSelector = function (impl) {
    if (impl === void 0) { impl = defaultUseSelectorImpl; }
    var useSelector = getMockedReactRedux().useSelector;
    useSelector.mockImplementation(impl);
    return useSelector;
};
export var mockUseDispatch = function (dispatch) {
    if (dispatch === void 0) { dispatch = jest.fn(); }
    var useDispatch = getMockedReactRedux().useDispatch;
    useDispatch.mockReturnValue(dispatch);
    return dispatch;
};
