diff --git a/src/lib/tooltip/tooltip.spec.ts b/src/lib/tooltip/tooltip.spec.ts index ed543648ca5..05e894fc504 100644 --- a/src/lib/tooltip/tooltip.spec.ts +++ b/src/lib/tooltip/tooltip.spec.ts @@ -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;