3 ms·
If only it could speed up whatever it is in the Node project that is blocking Jest's adoption of ES modules, including their mocking :-(
by azangru 4y ago
If only it could speed up whatever it is in the Node project that is blocking Jest's adoption of ES modules, including their mocking :-(
- edgyquant 4y agoYeah coming from python and pytest jest has been a real struggle to get right.
- steve_taylor 4y agoI recently started using unstable_mockModule quite heavily. It works well. The only thing missing is importActual, but in most cases, requireActual will do the job. As far as I know, further development is on hold until Node’s VM modules feature stabilises. I believe Node is waiting on V8.