Is there a work around to issue https://github.com/cypress-io/cypress/issues/1271? #14595
Unanswered
quad5
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.
-
This is what I am trying to achieve:
I need to create a data object which its key and value refers to a const in javascript file. I was using fixture with extension .js but getting error like
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
It seems to be #1271.
Is there a workaround or an alternative on how i can get my task to work?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions