- vue实现原理,源码解析(中文): https://github.com/DMQ/mvvm
- Vue单元测试:https://cn.vuejs.org/v2/guide/unit-testing.html
- Actions can return promises (oir rather: always return a Promise),so it should be trivial.
You might be interested in this chapter of the documentation, titled “Composing Actions”