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
My test runs fine and everything passes, but after that, I get the following message:
Ran all test suites.
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
And the process just hangs.
This is fine for local development (I can just CTRL+C), but it freezes my CI pipeline.
The text was updated successfully, but these errors were encountered:
Agreed, according to the --detectOpenHandles it's saying that it's related to esbuild. Don't know why or how to fix it but thought I'd post it here.
Jest has detected the following 2 open handles potentially keeping Jest from exiting:
● MESSAGEPORT
at startWorkerThreadService (../../node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1978:48)
at Object.buildSync (../../node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1757:29)
● WORKER
at startWorkerThreadService (../../node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1979:16)
at Object.buildSync (../../node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1757:29)
Hi!
In my current setup I'm using the following versions
My test runs fine and everything passes, but after that, I get the following message:
And the process just hangs.
This is fine for local development (I can just
CTRL+C
), but it freezes my CI pipeline.The text was updated successfully, but these errors were encountered: