I use IO.js 1.4.3 and Jest to run my test suites. I need a newer version of V8 because I use ES6 features like Promises.
If I try the simplest possible test:
describe('the truth', function() { it('is true', function() { expect(true).toBeTruthy(); }); });
it works (fortunately). However, if I include a call to require() (which I have to do to check my own code), I get:
Using Jest CLI v0.4.0 Waiting on 1 test...Segmentation fault: 11
This happens no matter which module I plug into, and whether I first call jest.dontMock() .
Actually this does not tell me a lot of qua error messages, and require really seems to be a problem. Are there any solutions for this besides returning to pre-1.0 node.js?
source share