docs: improve custom puppeteer example to prevent worker warnings by falsyvalues · Pull Request #13619 · jestjs/jest (original) (raw)

SimenB

approved these changes Nov 17, 2022

@falsyvalues falsyvalues changed the titledocs: improve custom example to prevent worker warnings docs: improve custom puppeteer example to prevent worker warnings

Nov 17, 2022

@falsyvalues

Prevents from warnings: A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators

Feb 1, 2023

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})