// If you want to enhance the Jasmine execution context, just add into this file.

require("UnderscoreMatchersForJasmine");


@@ -118,8 +118,301 @@
 ine%22);%0A%0A
+_ = require(%22underscore%22);%0A%0A// Common code for routing promises into the %22done%22 callback model.%0Amodule.exports = %7B%0A  promiseDone: function(testBodyCb) %7B%0A    return function(done) %7B%0A      done = _.once(done);%0A      return testBodyCb().catch(done).finally(function() %7B done(); %7D);%0A    %7D;%0A  %7D%0A%7D;%0A

Add a helper for mapping done callbacks to Promises