build: update npm dependencies
This commit is contained in:

committed by
Alex Rickabaugh

parent
2d5ef15e08
commit
df91fd032d
@ -25,9 +25,6 @@ describe('Model-Driven Forms', function() {
|
||||
input.sendKeys('invalid');
|
||||
firstName.click();
|
||||
|
||||
// TODO: getInnerHtml has been deprecated by selenium-webdriver in the
|
||||
// upcoming release of 3.0.0. Protractor has removed this method from
|
||||
// ElementFinder but can still be accessed via WebElement.
|
||||
expect(form.getWebElement().getInnerHtml()).toContain('is invalid credit card number');
|
||||
expect(form.getAttribute('innerHTML')).toContain('is invalid credit card number');
|
||||
});
|
||||
});
|
||||
|
@ -25,9 +25,6 @@ describe('Template-Driven Forms', function() {
|
||||
input.sendKeys('invalid');
|
||||
firstName.click();
|
||||
|
||||
// TODO: getInnerHtml has been deprecated by selenium-webdriver in the
|
||||
// upcoming release of 3.0.0. Protractor has removed this method from
|
||||
// ElementFinder but can still be accessed via WebElement.
|
||||
expect(form.getWebElement().getInnerHtml()).toContain('is invalid credit card number');
|
||||
expect(form.getAttribute('innerHTML')).toContain('is invalid credit card number');
|
||||
});
|
||||
});
|
||||
|
@ -43,7 +43,7 @@ class AsyncApplication {
|
||||
multiTimeoutId: any = null;
|
||||
intervalId: any = null;
|
||||
|
||||
increment(): void { this.val1++; };
|
||||
increment(): void { this.val1++; }
|
||||
|
||||
delayedIncrement(): void {
|
||||
this.cancelDelayedIncrement();
|
||||
@ -51,7 +51,7 @@ class AsyncApplication {
|
||||
this.val2++;
|
||||
this.timeoutId = null;
|
||||
}, 2000);
|
||||
};
|
||||
}
|
||||
|
||||
multiDelayedIncrements(i: number): void {
|
||||
this.cancelMultiDelayedIncrements();
|
||||
@ -69,33 +69,33 @@ class AsyncApplication {
|
||||
}, 500);
|
||||
}
|
||||
helper(i);
|
||||
};
|
||||
}
|
||||
|
||||
periodicIncrement(): void {
|
||||
this.cancelPeriodicIncrement();
|
||||
this.intervalId = setInterval(() => this.val4++, 2000);
|
||||
};
|
||||
}
|
||||
|
||||
cancelDelayedIncrement(): void {
|
||||
if (this.timeoutId != null) {
|
||||
clearTimeout(this.timeoutId);
|
||||
this.timeoutId = null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
cancelMultiDelayedIncrements(): void {
|
||||
if (this.multiTimeoutId != null) {
|
||||
clearTimeout(this.multiTimeoutId);
|
||||
this.multiTimeoutId = null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
cancelPeriodicIncrement(): void {
|
||||
if (this.intervalId != null) {
|
||||
clearInterval(this.intervalId);
|
||||
this.intervalId = null;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@NgModule(
|
||||
|
Reference in New Issue
Block a user