Akryum / Akryum/vue-cli-plugin-apollo

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

Open
#72 3 comments 1 reaction 0 assignees View on GitHub
need repro
Dominant language
JavaScript
Stars
477
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.