code: function resetClock() {
    for (const key in jasmine.Clock.real) {
      if (jasmine.Clock.real.hasOwnProperty(key)) {
        window[key] = jasmine.Clock.real[key]
      }
    }
  }
docs: Jasmine 1.3.x has no sane way of resetting to native clocks, and since we're gonna test promises and such, we're gonna need it