plando
v0.1.4
Published
Count assertions and call function at the end
Downloads
10
Readme
plando
Count assertions and call function at the end.
USAGE
var pd = require('plando');
it('should be able to wait for two events', function(done) {
var d = pd(2, done);
setTimeout(function() {
d.ok(true);
}, 20);
setTimeout(function() {
d();
}, 10);
});
LICENSE
MIT