Skip to content

Commit

Permalink
Add router and store to configuration callback
Browse files Browse the repository at this point in the history
  • Loading branch information
dfcook committed Mar 23, 2019
1 parent 3b33a20 commit a62e536
Show file tree
Hide file tree
Showing 5 changed files with 1,146 additions and 483 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The `render` function takes up to 3 parameters and returns an object with some h
* store - The object definition of a Vuex store, if present `render` will configure a Vuex store and pass to mount.
* routes - A set of routes, if present render will configure VueRouter and pass to mount.
All additional render options are passed to the vue-test-utils mount function in its options.
3. configurationCb - A callback to be called passing the Vue instance when created. This allows 3rd party plugins to be installed prior to mount.
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.

### fireEvent

Expand Down
Loading

0 comments on commit a62e536

Please sign in to comment.