Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spread operator support #905

Closed
paulpruteanu opened this issue Nov 11, 2017 · 7 comments
Closed

spread operator support #905

paulpruteanu opened this issue Nov 11, 2017 · 7 comments
Milestone

Comments

@paulpruteanu
Copy link

@paulpruteanu paulpruteanu commented Nov 11, 2017

Any plans to support transform-object-rest-spread plugin? It would make tests neater, whenever necessary.

@brian-mann
Copy link
Member

@brian-mann brian-mann commented Nov 11, 2017

This is actually done (it is a PR right now). It's part of the plugins / extensions API which is documented here: #684

@paulpruteanu
Copy link
Author

@paulpruteanu paulpruteanu commented Nov 11, 2017

Sounds good, thank you!

@brian-mann brian-mann added this to the 1.1.0 milestone Nov 20, 2017
@brian-mann
Copy link
Member

@brian-mann brian-mann commented Nov 20, 2017

Released in 1.1.0.

@hsellou
Copy link

@hsellou hsellou commented Apr 6, 2018

Can you give us a sample of a file preprocessor to use in order to have the spread operator, please ?
I'm a little lost in webpack/babel preprocessor configuration :(

Thanks !

@dcastil
Copy link
Contributor

@dcastil dcastil commented Apr 16, 2018

I'd also like native spread operator support for Cypress. It's strange that I can't use syntax which is natively supported by node.

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Apr 17, 2018

I created a new issue in our docs to document use of the spread operator within the preprocessor here: cypress-io/cypress-documentation#533. Our documentation is open source and contributions are welcome.

@zebulonj
Copy link

@zebulonj zebulonj commented Apr 17, 2018

@hsellou If you're already using webpack, this should get you where you want to be (includes examples): https://github.com/cypress-io/cypress-webpack-preprocessor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants