You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
411 B

import { WEATHER_DATA } from "../../../data/stub";
import appReducer from "../../../redux/reducers/appReducer";
const initialState = {
weathers: WEATHER_DATA,
favoriteWeathers: [],
};
// Reducer for tests => Just call the "true" reducer with our mocked data as initial state
// @ts-ignore
export default appTestReducer = (state = initialState, action) => {
return appReducer(initialState, action);
}