Chai as Promised is an extension for the Chai assertion library which adds the capability for assertions about promises.
I'm struggling to work out the best way to verify that a promise is rejected in a Mocha test while …
node.js async-await mocha chai chai-as-promisedI have a class that rejects a promise: Sync.prototype.doCall = function(verb, method, data) { var self = this; self.client = …
javascript promise mocha bluebird chai-as-promisedI'm trying to write a test to test a method that connects to mongo, but I don't actually want to …
node.js mongodb mocha chai chai-as-promised