Akryum / Akryum/vue-cli-plugin-apollo

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

Aperta
#72 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
need repro
Lingua principale
JavaScript
Stelle
477
Fork
109
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.