We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command
jest-dev-server requires a port option in order to launch command
port
launch with a jest-puppeteer.config.js such as
jest-puppeteer.config.js
module.exports = { server: { command: 'npm run start', launchTimeout: 30000 } }
npm run start should be executed followed by a 30 second wait.
npm run start
It's pretty easy to see that setup doesn't do anything if config.port is falsy. No error thrown, it just exits.
setup
config.port
https://github.com/smooth-code/jest-puppeteer/blob/b92e76c52fa57b0767963f94fe68200ef798e1e8/packages/jest-dev-server/src/global.js#L90-L168
This also makes it impossible to get around #96 as the obvious way to do that is simply not supplying jest-dev-server with a port to check.
The text was updated successfully, but these errors were encountered:
5aee5fe
No branches or pull requests
🐛 Bug Report
jest-dev-server requires a
port
option in order to launchcommand
To Reproduce
launch with a
jest-puppeteer.config.js
such asExpected behavior
npm run start
should be executed followed by a 30 second wait.It's pretty easy to see that
setup
doesn't do anything ifconfig.port
is falsy. No error thrown, it just exits.https://github.com/smooth-code/jest-puppeteer/blob/b92e76c52fa57b0767963f94fe68200ef798e1e8/packages/jest-dev-server/src/global.js#L90-L168
This also makes it impossible to get around #96 as the obvious way to do that is simply not supplying jest-dev-server with a port to check.
The text was updated successfully, but these errors were encountered: