hubotio / hubot

A customizable life embetterment robot.
https://hubotio.github.io/hubot/
MIT License
16.64k stars 3.75k forks source link

chore: Tests not exiting #1606

Closed joeyguerra closed 1 year ago

joeyguerra commented 1 year ago

At version 4.0.0, Mocha changed the default behavior from exiting after tests were complete to not exiting. From that point on, you must add the --exit flag if you want mocha to stop when tests have been run.

1607

Given you're running Node.js version >=v18 and you've run npm install When you run npm test Then the tests execute but fails to exit the process