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
Hello @pfe-nazaries. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.
In the meanwhile i can confirm that happy-dom seems to be the problem. If i switch environment in vitest config from happy-dom to jsdom the message dissapears.
I still think that this matches the change in 2.1.5 that i think triggers the message
Describe the bug
Hi guys,
i just updated my vitest packages (vitest, ui and coverage-v8) from 2.1.2 to 2.1.8.
After that i runned my test and even they pass a message (the following one) was introduced into the output
AggregateError:
at internalConnectMultiple (node:net:1118:18)
at afterConnectMultiple (node:net:1685:7) {
code: 'ECONNREFUSED',
[errors]: [
Error: connect ECONNREFUSED 127.0.0.1:3000
at createConnectionError (node:net:1648:14)
at afterConnectMultiple (node:net:1678:16) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000
},
I downgraded the version of the packages and incrementally 1 by 1 until i discovered that in 2.1.5 is the version where this exception start to happen
I think is has to do with this change
Reproduction
https://github.com/pfe-nazaries/vitest-repro
run pnpm i
run vitest
observe the log for the error
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: