Replies: 4 comments 3 replies
-
I think this is a Node.js bug, there's not much we can do about it. Try disabling worker threads (
(I'm closing this issue for housekeeping purposes, but let's keep the conversation going.) |
Beta Was this translation helpful? Give feedback.
-
Thanks @novemberborn, you’re amazing! Adding |
Beta Was this translation helpful? Give feedback.
-
Ran into this issue today running ava configured for ESM, TypeScript v5.0.3, and Node v18.14.0. |
Beta Was this translation helpful? Give feedback.
-
On the project that I am working on now, we have found a node version that works for us |
Beta Was this translation helpful? Give feedback.
-
Description
I’m currently migrating a test suite with ~100 tests from Mocha to AVA. Writing those tests is a breeze, but unfortunately the more tests I write, the more I run into the following exception:
Additional details
In basically every test I’m booting a new WebSocket server, and connecting with a client. The WebSocket server is bound to port 0, which eventually is picking a random free high port.
The exception is thrown:
Questions
Chances are I’m the bug here, or the way I write the tests. But I can’t really get anything from that error message.
Any help is appreciated.
Dependencies
package.json
I’m too stupid to get the AVA version (maybe because I’m working with npm workspaces), but it’s latest:
Beta Was this translation helpful? Give feedback.
All reactions