diff options
author | Dennis Tang <dennis@dennistang.net> | 2018-05-08 17:13:22 +0000 |
---|---|---|
committer | Dennis Tang <dennis@dennistang.net> | 2018-05-08 17:13:22 +0000 |
commit | e665169a94a855d7eb45924d8c6ec602578447dd (patch) | |
tree | c9087818d6953f088a27da85ce08f515deb3dd5e /doc | |
parent | e69d6ae0f8c27dcfc111b4ac9b401deb1ae33725 (diff) | |
download | gitlab-ce-e665169a94a855d7eb45924d8c6ec602578447dd.tar.gz |
add link for babel-plugin-rewire
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/fe_guide/vuex.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md index d047fd96dda..95636153805 100644 --- a/doc/development/fe_guide/vuex.md +++ b/doc/development/fe_guide/vuex.md @@ -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: |