Skip to content

Commit b2d2f05

Browse files
authored
chore(): fix build (#1882)
1 parent a991ffd commit b2d2f05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/tooltip/tooltip.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ describe('MdTooltip', () => {
135135
fixture.detectChanges();
136136
tick(150);
137137

138+
const tooltipDelay = 1000;
138139
tooltipDirective.hide();
139-
tick(TOOLTIP_HIDE_DELAY); // Change the tooltip state to hidden and trigger animation start
140+
tick(tooltipDelay); // Change the tooltip state to hidden and trigger animation start
140141

141142
// Store the tooltip instance, which will be set to null after the button is hidden.
142143
const tooltipInstance = tooltipDirective._tooltipInstance;

0 commit comments

Comments
 (0)