You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled asynchronous exception: TypeError: this.suite[option] is not a function
at MochaWrapper.getThreadOptions (/node_modules/mocha-parallel-tests/dist/main/mocha.js:148:49)
at MochaWrapper.runThread (/node_modules/mocha-parallel-tests/dist/main/mocha.js:115:30)
at task (/node_modules/mocha-parallel-tests/dist/main/mocha.js:56:37)
at TaskManager.startTaskProcessing (/node_modules/mocha-parallel-tests/dist/main/task-manager.js:46:27)
at TaskManager.execute (/node_modules/mocha-parallel-tests/dist/main/task-manager.js:35:18)
at MochaWrapper.run (/node_modules/mocha-parallel-tests/dist/main/mocha.js:66:21)
at Object.<anonymous> (/node_modules/mocha-parallel-tests/dist/bin/cli.js:189:7)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
Using the parallel mode out of the box in mocha 8 isn't straight forward in my case. I'm moving in that direction, but I was hoping to continue using mocha-parallel-tests in the mean time.
Test code:
I have tried many different tests I could run under mocha, but this is the simplest that fails.
Starting with
mocha-parallel-tests -R xunit --timeout 10000 --slow 1000 tests/*.test.js
The text was updated successfully, but these errors were encountered: