add link for babel-plugin-rewire

This commit is contained in:
Dennis Tang 2018-05-08 17:13:22 +00:00
parent e69d6ae0f8
commit e665169a94
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ describe('component', () => {
```
#### Testing Vuex actions and getters
Because we're currently using `babel-plugin-rewire`, you may encounter the following error when testing your Vuex actions and getters:
Because we're currently using [`babel-plugin-rewire`](https://github.com/speedskater/babel-plugin-rewire), you may encounter the following error when testing your Vuex actions and getters:
`[vuex] actions should be function or object with "handler" function`
To prevent this error from happening, you need to export an empty function: