mocha-parallel-tests
mocha-parallel-tests copied to clipboard
Getting error Unhandled asynchronous exception: Unhandled asynchronous exception
When I am trying the below mocha parallel command getting error. Please share your inputs how to resolve the issue
Command mocha-parallel-tests --require ts-node/register ./bat///*.ts --timeout=300000 --env=./EnvFiles/Env.xml --browser=CH --reporter-options reportDir=./reports/tests/html
Error
Unhandled asynchronous exception: Unhandled asynchronous exception
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:integ: mocha-parallel-tests --require ts-node/register ./bat/**/**/*.ts --timeout=300000 --env=./EnvFiles/Env.xml --browser=CH --reporter-options reportDir=./reports/tests/html
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:integ script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /var/root/.npm/_logs/2021-04-28T04_44_59_020Z-debug.log