Closed abekoh closed 4 years ago
vuex-module-decorators
のテスト
このあたり参考になる?
https://github.com/championswimmer/vuex-module-decorators/blob/ccf4701c5bbbae9438c3b17a4466405fe0cad500/test/getmodule/getmodule_generated_on_two_stores.ts
webstormでjestの補完有効化 https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000357324-Get-rid-of-Unresolved-function-method-variable-warning-in-Jest-test-files
yarn add -D @types/jest
tsconfigのtypesにも追加
Nuxtの$axiosのmock化 https://github.com/nuxt-community/axios-module/issues/105
テストの参考になりそうなやつ!! https://dev.to/nesterow/testable-code-with-vuejs-and-typescript-4eeb
↑の色々試したけど、うまくいきそうにないので諦める…
Vue.jsで親子のやり取り図説 https://orizuru.io/blog/vue-js/vue_emit-props/
jestのエラー
これで解決 https://stackoverflow.com/questions/52262084/syntax-error-support-for-the-experimental-syntax-decorators-legacy-isnt-cur