Home

Awesome

start-two-servers-example

Example using start-server-and-test to start two servers before testing

Run

You can run each service by itself

Then you can test that both have started using npm t which just executes two requests, see src/test.js

Or you can use npm run test:all that starts first service, waits for it to respond. Then it starts the second service, and when it responds, runs the test command