Skip to content

Describe how to run server and tests and shutdown #355

@bahmutov

Description

@bahmutov

Often see this question

Hi, what is the recommended say to start your normal dev server before cypress run? 
I tried an NPM script as "test": "yarn start; yarn cypress run" but running into 
background-process issues and the server isn't closed afterwards.

Need to show two ways we do it: via run-p --race server test using npm-run-all and using https://github.com/bahmutov/start-server-and-test

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions