Replies: 1 comment
-
@fjpedrosa You'll want to update the devServer configuration which start the dev server which serves your test content. Using the file-preprocessor is likely too late. This documentation / example might be helpful: https://docs.cypress.io/guides/component-testing/component-framework-configuration#React-with-Webpack |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use components testing, but when starting the test runner I receive messages saying that webpack 5 is missing polyfills.
So that, I added this configuration in the components section of cypress.config.js:
However seems that it is not overriding the webpack config file, since I still receiving this error message with a wrong route to resolve the package:
Am i doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions