Awesome
expectation
expectation lets you specify code that will run whenever something happens.
Example
var expectation = require('../lib/expectation');
expectation.create(
function () {
return 'we are there!';
},
function (data) {
console.log(data);
}
);