From b2d2f05c0a7cef8cbfa9b9fd62e4dc8f7389e16c Mon Sep 17 00:00:00 2001 From: Kara Date: Tue, 15 Nov 2016 16:52:02 -0800 Subject: [PATCH] chore(): fix build (#1882) --- src/lib/tooltip/tooltip.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;