2018-02-08から1日間の記事一覧

jestでVuexのmapMutationsがエラーになる #vuejs #nuxtjs #jest

jestでVuexのmapMutationが Unexpected token on mapMutations なエラーになってしまう。 ...mapMutations の ... がbabelによってエラーになってしまっているようだ。 ... はスプレッド演算子(object rest spread operator)というらしい。 解決方法 スプ…