mocha-parallel / mocha-parallel-tests

Parallel test runner for mocha tests. Looking for maintainer.
MIT License
200 stars 45 forks source link

Getting error Unhandled asynchronous exception: Unhandled asynchronous exception #302

Open rohitghy5 opened 3 years ago

rohitghy5 commented 3 years ago

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! Selenium_Software@1.0.0 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 Selenium_Software@1.0.0 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