Skip to content

Commit a62e536

Browse files
committed
Add router and store to configuration callback
1 parent 3b33a20 commit a62e536

File tree

5 files changed

+1146
-483
lines changed

5 files changed

+1146
-483
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ The `render` function takes up to 3 parameters and returns an object with some h
119119
* store - The object definition of a Vuex store, if present `render` will configure a Vuex store and pass to mount.
120120
* routes - A set of routes, if present render will configure VueRouter and pass to mount.
121121
All additional render options are passed to the vue-test-utils mount function in its options.
122-
3. configurationCb - A callback to be called passing the Vue instance when created. This allows 3rd party plugins to be installed prior to mount.
122+
3. configurationCb - A callback to be called passing the Vue instance when created, plus the store and router if specified. This allows 3rd party plugins to be installed prior to mount.
123123

124124
### fireEvent
125125

0 commit comments

Comments
 (0)