Pre-process node_modules in Cypress Commands #23654
Unanswered
ickata
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a very strange setup due to legacy reasons. I need to run tests on Chrome 45, which is a pretty old version (~7 years). I found out that Cypress 2.1.0 works for me.
Now the problem comes with Cypress plugins having modern (ES6+) javascript. Chrome 45 does not understand it and throws. I need somehow to pre-process these files. I saw that Cypress plugins framework provides a "preprocess" hook, but unfortunately I couldn't make it work.
Any help/advice is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions