Closed JoeMorgan closed 10 months ago
Same here
This is an issue with vitest, not with testing-library. It loads two versions of solid-js, one through the node loader and one through the vite dev server. This breaks solid-js; our auto-cleanup is just the first part that throws.
Thanks @atk . Do you happen to know if there is an open ticket in the vitest repo that you're tracking? I am looking but coming up short.
I haven't created such a ticket, but I have mentioned it to the devs on discord.
Encountering the same issue when using Vitest with SolidJS and NodeJS 20. Based on the previous discussion, it isn't yet clear to me what the problem is. Should we create an issue at https://github.com/vitest-dev/vitest/issues ?
Note that this seems to be resolved when using the latest version of vitest (which is 1.2.0 at the time of this writing). I will close this issue.
Resolved in latest vitest
When switching to Node 20.6.1, all of my tests fail due to the following error:
This problem does not occur with Node v19.9 or previous.
Dependencies/versions: