A PollingWait function or promise to ease asynchronous testing.
Install the module with: npm install polling-wait
var wait = require('polling-wait').wait;
wait({timeoutAfter: 1000, pollEvery: 100}).until(function () {
var actual = client.receiveNextMessage();
assert(actual, 'No message received!');
});
(Coming soon)
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
(Nothing yet)
Copyright (c) 2015 Benoît Nouyrigat
Licensed under the MIT license.