Akryum / Akryum/vue-cli-plugin-apollo

SyntaxError: Unexpected token ... when yarn run test:e2e with vue-cli

未关闭
#72 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
need repro
主要语言
JavaScript
星标
477
派生
109
PR 合并指标
30 天内没有已合并 PR

描述

E2E tests throw an error originating in **vue-cli-plugin-apollo/index.js:58**

It would seem cypress does not understand spread syntax.

### Current behavior:
Tests failed because of unknown syntax

screen shot 2018-10-24 at 4 05 48 pm

### Desired behavior:
Tests work

### Steps to reproduce:
1. create vue project by vue-cli (`$vue create myapp` -> `Manually select features` -> `add e2e testing(cypress)`)
1. add vue-apollo plugin (`$vue add apollo`, default choice)
1. run e2e testing (`$yarn test:e2e`)

### Versions
@vue/cli: 3.0.5
@vue/cli-plugin-e2e-cypress: 3.0.5
vue-cli-plugin-apollo: 0.17.2

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。