We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81806d9 commit 9e8c3e4Copy full SHA for 9e8c3e4
2 files changed
package.json
@@ -3,7 +3,7 @@
3
"author": "Raice Hannay <voodoocreation@gmail.com>",
4
"description": "A set of classes to make setting up React components for unit tests easy.",
5
"license": "ISC",
6
- "version": "2.0.0",
+ "version": "2.0.1",
7
"keywords": [
8
"component",
9
"enzyme",
src/WrapperWithRedux.tsx
@@ -45,6 +45,7 @@ export default abstract class WrapperWithRedux<
45
46
// @ts-ignore
47
public mount = () => {
48
+ this.dispatchedActions = [];
49
this.beforeMount();
50
51
const props = this.defineProps() as P;
@@ -109,6 +110,5 @@ export default abstract class WrapperWithRedux<
109
110
super.reset();
111
112
this.scenarioReduxState = {};
- this.dispatchedActions = [];
113
}
114
0 commit comments