index.js
function resetClock() {
  for (const key in jasmine.Clock.real) {
    if (jasmine.Clock.real.hasOwnProperty(key)) {
      window[key] = jasmine.Clock.real[key]
    }
  }
}
function resetClock() {
  for (const key in jasmine.Clock.real) {
    if (jasmine.Clock.real.hasOwnProperty(key)) {
      window[key] = jasmine.Clock.real[key]
    }
  }
}
function resetClock ( ) { for ( const key in jasmine . Clock . real ) { if ( jasmine . Clock . real . hasOwnProperty ( key ) ) { window [ key ] = jasmine . Clock . real [ key ] } } }
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
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