Open wardou2 opened 2 years ago
Yes I could look into that, are you using any other cypress plugins other than the ones mentioned?
Would you be able to provide a minimal reproducible example that I could check some changes against?
No other packages than the ones mentioned.
Here's a skeleton SvelteKit project that can reproduce the error: https://github.com/wardou2/cypress-cucumber-attach-screenshots-to-failed-steps-cjs-example
I'm using this package with cypress, cypress-cucumber-preprocessor, and multiple-cucumber-html-reporter to test a SvelteKit project (which uses Vite under the hood).
The warning:
cypress-cucumber-attach-screenshots-to-failed-steps doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
Is this something that can be easily addressed here?