Akryum / Akryum/vue-cli-plugin-apollo

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

Đang mở
#72 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
need repro
Ngôn ngữ chính
JavaScript
Star
477
Fork
109
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.