Skip to content

Commit

Permalink
chore(): fix build (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
kara authored Nov 16, 2016
1 parent a991ffd commit b2d2f05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/tooltip/tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b2d2f05

Please sign in to comment.