Move clock from global to jasmine; provide a function to access the clock.