argos-ci / jest-puppeteer

Run tests using Jest & Puppeteer 🎪✨
MIT License
3.53k stars 289 forks source link

TypeError: page.removeListener is not a function #580

Closed xrkffgg closed 7 months ago

xrkffgg commented 7 months ago

💬 Questions and Help

Test suite failed to run
TypeError: page.removeListener is not a function
at PuppeteerEnvironment.teardown (node_modules/jest-environment-puppeteer/lib/PuppeteerEnvironment.js:158:12)
at runMicrotasks (<anonymous>)
pladaria commented 4 months ago

I'm getting this error after upgrading pptr related dependencies. Why was this issue closed? Is there a solution?

xrkffgg commented 4 months ago

@pladaria I used the fixed version

AntonPolyakin commented 3 months ago

@xrkffgg, what version should I switch to so that this error does not occur?