Fixes
- Display the exact location of test failure in user code, instead of
var possibleError = new Error()
(ac5339a). - Use .mocharc when possible (#2070)
To get rid of:
DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.
convert your mocha.opts
file to .mocharc.json
according to https://mochajs.org documentation and point runner-config
field in package.json
to that .mocharc.json
file:
{
"detox": {
"runner-config": "e2e/.mocharc.json"
}
}