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
Should be working, be sure that the port config is set to the correct port:
jest-puppeteer.config.js
module.exports={server: {command: `npm start`,port: 3000,// if set correctly should workusedPortAction: 'ask'},exitOnPageError: false}
The getIsPortTaken function checks the provided port by trying to start a server on that specific port. Test configured port by adding: console.log('conigured port:', config.port); at node_modules\jest-dev-server\lib\global.js:173 (using jest-puppeteer v4.4.0)
馃悰 Bug Report
getIsPortTaken
function doesn't seem to work correctly under macOS.To Reproduce
Steps to reproduce the behavior:
nc -l localhost 3000
to start a minimal server locallyjest-dev-server
on the same port with usedPortAction set to "ask"Expected behavior
It should ask
Link to repl or repo (highly encouraged)
Please provide a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run
npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: