Closed olegdovger closed 3 years ago
Wallaby supports two types of jest configuration, Automatic
and Manual
; you have specified a manual jest
configuration. Could you please switch to use automatic configuration, it should fix your problem. Steps for doing this are described in our docs. I can see that your jest configuration file location is not standard. You can set the location in your configuration file:
wallaby.js
{
autoDetect: true,
testFramework: {
configFile: "./server/jest.config.json"
},
hints: {
ignoreCoverage: /istanbul ignore next/,\r\n' +
}
}
If your jest tests are running outside of Wallaby, then they should work inside Wallaby with these settings.
I'm going to assume that our suggestion solved your problem. If not, please reply and we'll re-open the issue.
It works. )) 🚀 💯 Thank you
Issue description or question
My nodejs app uses c++ addon (https://nodejs.org/api/addons.html)
I use jest to run my tests.
How can I run jest tests using wallaby?
All tests passed without wallabyjs, but not with it.
Wallaby diagnostics report