chore(): fix build (#1882)

This commit is contained in:
Kara
2016-11-15 16:52:02 -08:00
committed by GitHub
parent a991ffd77a
commit b2d2f05c0a
+2 -1
View File
@@ -135,8 +135,9 @@ describe('MdTooltip', () => {
fixture.detectChanges();
tick(150);
const tooltipDelay = 1000;
tooltipDirective.hide();
tick(TOOLTIP_HIDE_DELAY); // Change the tooltip state to hidden and trigger animation start
tick(tooltipDelay); // Change the tooltip state to hidden and trigger animation start
// Store the tooltip instance, which will be set to null after the button is hidden.
const tooltipInstance = tooltipDirective._tooltipInstance;