-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core dump with vitest and simple-peer #222
Comments
Update: by using I don't know if/whether this should be fixed in this repository. Feel free to close this issue if you won't/can't fix this on your side. 🙂 |
Hello, And also please check this issue and comment. |
Thanks for the quick reply. The core dump still happens with v0.5.4 I'm not sure how to add afterEach(() => {
node.cleanup()
}); but I get Any idea ? |
You should import And I think you should call cleanup just before exiting the test not after all |
It seems there is another issue, you can check here #223 |
I have just published v0.5.5 |
Sorry for the delay. I tried with I also tried with The live reload feature of vitest is apparently still broken (no big deal for me) :
No idea what it means 🤷 |
Hello, |
I am closing the issue. Please feel free to open if you need to. |
Versions:
0.5.3
1.3.1
9.11.1
18
and20
, same behaviorAll latest at the time of the creation of this issue.
OS:
Linux (Pop OS, most likely happening in Ubuntu too)
Issue:
When I use Vitest to test the simplest code (taken from https://github.com/murat-dogan/node-datachannel/tree/master/examples/simple-peer-usage), vitest crashes with a core dump.
I suspect it's because it runs in a Worker, maybe related to #129 ?
Repository for reproduction:
https://github.com/xurei/vitest-node-datachannel-crash
Verbose log attached:
log.txt
I'm available if you need any more tests/informations on my side.
Note that I had a similar issue when I tried the same thing with
wrtc
, so it might be a problem on Vitest side.The text was updated successfully, but these errors were encountered: