You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version of the component testing documentation about custom dev servers, it says:
A custom function can be passed into the devServer option, which allows the use of other dev servers not provided by Cypress out of the box. These can be from the Cypress community, preview builds not included with the app, or a custom one you create.
The function's signature takes in a Cypress Configuration object as its only parameter and returns either an instance of a devServer or a promise that resolves to a devServer instance.
However, I can't find any documentation about what the dev server is supposed to look like. The example returns an object with a port option and close method, rather than a Node Server instance. What are the requirements for the devServer instance?
For context, I'm using a custom dev server because my app doesn't use a framework.
Thanks!
The text was updated successfully, but these errors were encountered:
The documentation is pretty null explaining the necessary steps for a custom dev server.
I'm struggling a little bit to setup a new component testing strategy using microbundle and rollup.
I would like to check if Cypress has any ideas or plans to start covering them or at least improving the way of custom server works.
Subject
devServer option for component testing
Description
In the current version of the component testing documentation about custom dev servers, it says:
However, I can't find any documentation about what the dev server is supposed to look like. The example returns an object with a
port
option andclose
method, rather than a Node Server instance. What are the requirements for thedevServer
instance?For context, I'm using a custom dev server because my app doesn't use a framework.
Thanks!
The text was updated successfully, but these errors were encountered: