function jasmineAssert(condition, message) {
    realAssert(condition, message);
    if (!condition) {
      message = message || 'Assertion failed.';
      console.error(message);
      fail(message);
    }
  }
A version of assert() which hooks into jasmine and converts all failed
assertions into failed tests.
@param {*} condition
@param {string=} message