Commit e665169a authored by Dennis Tang's avatar Dennis Tang

add link for babel-plugin-rewire

parent e69d6ae0
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment