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
The uWebSockets.js seems to be native node addon. Those have some compatibility issues with Vitest's default pool. In the next major we'll be defaulting to pool: 'forks' so that this kind of issues would not come up: #5047
Describe the bug
Just calling uwebsocket's
App()
will terminate the test and Vitest will not show results of any tests.I have tried looking through the Vitest documentation to see what the problem could be, but did not find anything.
Reproduction
Complete minimal reproduction in github repo:
https://github.com/chanon/vitest-uws/
The test code in
tests/minimal.test.ts
:Run
Result:
Comment
App()
call and run again.Result:
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: