mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
Bind spyOn explicitly to Window so Jasmine uses the DOM setTimeout signature that returns a number instead of the Node.js Timeout type. Remove the unsafe any cast and the obsolete TODO.
(cherry picked from commit 24a3c63976)