index.js
function (originalIt) {
    return function it(desc, cb) {
      if (cb.length === 0) {
        originalIt(desc, cb);
      } else {
        originalIt(desc, wrapInTryCatch(cb));
      }
    };
  }
function (originalIt) {
    return function it(desc, cb) {
      if (cb.length === 0) {
        originalIt(desc, cb);
      } else {
        originalIt(desc, wrapInTryCatch(cb));
      }
    };
  }
function ( originalIt ) { return function it ( desc , cb ) { if ( cb . length === 0 ) { originalIt ( desc , cb ) ; } else { originalIt ( desc , wrapInTryCatch ( cb ) ) ; } } ; }
wrap jasmine's "it" function so that each
test is wrapped in a trycatch handler
wrap jasmine s it function so that each test is wrapped in a trycatch handler