start-server-and-test
start-server-and-test copied to clipboard
Starts server, waits for URL, then runs test command; when the tests end, shuts down server
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [execa](https://togithub.com/sindresorhus/execa) | [`5.1.1` -> `8.0.1`](https://renovatebot.com/diffs/npm/execa/5.1.1/8.0.1) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR changes how the expect argument works. Before, it only accepted port 200 if no expect argument was given, and it would fail if the response port was different....
If you are on node version above 17, passing localhost as the url to ping might fail. Pass 127.0.0.1 instead. For example if the URL you are pinging is on...
https://1drv.ms/u/s!AnPiGdP1dVV_knB3kCmbaewHSsSJ
## Bug - version 2.0.0 - platform Windows 11 / Node 18 - expected behavior: Running `start-server-and-test 'http-server ./web/dist -c-0 --silent' 8080 'npm run test'` is silent - actual behavior:...
Currently, the intended scope of the package is only to wait for http servers for tests. It is not anticipated to forward a port to a remote host to execute...
As requested by @bahmutov @MikeMcC399 - this is the new issue related to https://github.com/bahmutov/start-server-and-test/issues/333 and was meant to be resolved by `start-server-and-test` `^2.0.0` This issue seems to impact mostly macOS...
Thank you for this awesome package! ## Bug Report - *Version*: ^1.12.2 - *Platform*: [Docker Image Node 8.17.0-stretch](https://hub.docker.com/layers/library/node/8.17.0-stretch/images/sha256-394af5d2ae1f42b7aca90c4c00e7e99591e920c10756d2f65204dd62b592318c?context=explore) - *Expected behavior*: Run scripts passed as arguments - *Actual behavior*: raise...
## Bug report Hi, - version 1.14.0 - platform node 18.12.0 on linux via docker image cypress/browsers:node18.12.0-chrome106-ff106 in Gitlab.CI - expected behavior After tests are finished to stop the child...
- version: "^1.14.0" - platform: macOS Monterey 12.6 - expected behavior: Close port on another terminal I am trying to add a pre-push github hook that runs the following npm...