test-plan
v0.1.1
Published
Count assertions and call function at the end
Downloads
3
Readme
SYNOPSIS
Count assertions and call function at the end
USAGE
it('should be able to wait for two events', function(done) {
var plan = new Plan(2, done);
setTimeout(function() {
plan.ok(true);
}, 20);
setTimeout(function() {
plan.ok(true);
}, 10);
});
LICENSE
MIT