mocha 8.0.0 --watch throws "Mocha instance is already disposed" on code change #4327
Closed
3 of 4 tasks
Labels
type: bug
a defect, confirmed by a maintainer
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
Mocha 8.0.0 does not seems to breaks when using
--watch
with messageMocha instance is already disposed
Steps to Reproduce
With Mocha 0.7.2 running the command below run the tests once and then on code change, execute again (as epected)
With Mocha 8.0.0, run exact same command, on exact same code, will run the tests once correctly, but doing a code change will throw the following error in the terminal.
Versions
Addtional information
.mocharc.yaml
The text was updated successfully, but these errors were encountered: