Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin committed Feb 1, 2017
1 parent aa48ecd commit 21c776d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/lib/tooltip/tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import {
fakeAsync,
flushMicrotasks
} from '@angular/core/testing';
import {Component, DebugElement, AnimationTransitionEvent, ViewChild, ChangeDetectionStrategy} from '@angular/core';
import {
Component,
DebugElement,
AnimationTransitionEvent,
ViewChild,
ChangeDetectionStrategy
} from '@angular/core';
import {By} from '@angular/platform-browser';
import {TooltipPosition, MdTooltip, MdTooltipModule, SCROLL_THROTTLE_MS} from './tooltip';
import {OverlayContainer} from '../core';
Expand Down Expand Up @@ -391,6 +397,7 @@ describe('MdTooltip', () => {
flushMicrotasks();
expect(tooltipDirective._tooltipInstance).toBeNull();
}));
});
});

@Component({
Expand Down Expand Up @@ -452,4 +459,4 @@ class ScrollableTooltipDemo {
class OnPushTooltipDemo {
position: string = 'below';
message: string = initialTooltipMessage;
}
}

0 comments on commit 21c776d

Please sign in to comment.