https://cypress.io logo
help/examples of custom devServer for component te...
# i-need-help
s
I use Parcel to build my app and i'm trying to get started using component testing. However, i'm having an issue actually figuring out specify a custom dev server and the docs aren't super clear on how to specify a dev server: https://docs.cypress.io/guides/references/configuration#Custom-Dev-Server i did find these relevant issues but they're unresolved and not really super helpful. https://github.com/cypress-io/cypress-documentation/issues/4613 https://github.com/cypress-io/cypress/issues/17798
fwiw, i did try just pointing it to :1234 (the port of my parcel server) like in the docs example but that didn't work, so i'm definitely missing something
I know i could also just set up a custom webpack config for component testing, but that kinda defeats the purpose of testing against what gets built and shipped
14 Views