redisgraph.js icon indicating copy to clipboard operation
redisgraph.js copied to clipboard

Use mocha --exit flag in your mocha test suite

Open mattcollier opened this issue 6 years ago • 1 comments

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

mattcollier avatar Feb 24 '19 22:02 mattcollier

Thanks we are using it in our circleci configuration

gkorland avatar Feb 25 '19 10:02 gkorland