Skip to content

Commit 54f8e3c

Browse files
committed
The old Redux instance should be used for dispatching
1 parent 22180bd commit 54f8e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/createRedux.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('createRedux', () => {
6565
state = getState().todoStore;
6666
};
6767

68-
nextRedux.dispatch(action);
68+
redux.dispatch(action);
6969

7070
expect(state).toEqual(redux.getState().todoStore);
7171
});

0 commit comments

Comments
 (0)