Closed alexander-akait closed 3 years ago
/cc @SimenB maybe you know what the problem is? jest just freeze and throw Segmentation fault
, here we just rewrite our tests on ECMA modules, source code in CommonJS and we use import()
(dynamic import) in our source code, if I remove it jest works fine, I try to debug, but no luck
It explodes when hitting the first import()
so I assume this is https://github.com/nodejs/node/issues/35889 (segfault trace matches, so seems likely). The linked v8 issue had a bunch of movement in August, so 🤞 something comes out of it
Okay, let's start investigate, because it is big blocker for updating deps for us
It's a bug in v8, not much we can do in userland unfortunately
Apparently we will have to be left without auto tests and do manual testing, as if we are returning to the stone age, we just can't update our deps and we really need new versions, I'm surprised that the problem takes so long to solve, that is very bad, thanks for link
This PR contains a:
Motivation / Use-Case
allow to use
remark
v14Breaking Changes
No
Additional Info