RedisGraph / redisgraph.js

A Javascript client for RedisGraph
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
100 stars 26 forks source link

Use mocha --exit flag in your mocha test suite #13

Open mattcollier opened 5 years ago

mattcollier commented 5 years ago

If you're using this module along with mocha 4+ in your own test suite, you may notice that mocha is not terminating. This is due to event listeners etc in the underlying redis module.

See package file in this module. https://github.com/RedisGraph/redisgraph.js/blob/master/package.json#L18

See: https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit

gkorland commented 5 years ago

Thanks we are using it in our circleci configuration