chore(typings): use mainline DefinitelyTyped repo rather than a fork.

The upstream Jasmine typings don't define a type for the global
object with Jasmine methods polluting it, so just use any.

Also zone.js has a different name upstream.
This commit is contained in:
Alex Eagle
2016-02-01 10:28:57 -08:00
committed by Alex Eagle
parent 1435763383
commit 2f31c4c1c5
7 changed files with 25 additions and 21 deletions

View File

@ -11,7 +11,8 @@ describe('md-progress-linear', function() {
var incrementButton = element(by.id('increment'));
var decrementButton = element(by.id('decrement'));
var initialValue = progressBar.getAttribute('aria-valuenow');
// Really a Promise<string> but can be coerced to a number after resolving
var initialValue: any = progressBar.getAttribute('aria-valuenow');
incrementButton.click();
expect(progressBar.getAttribute('aria-valuenow')).toBeGreaterThan(initialValue);