Skip to content

Commit

Permalink
Trying to fix CI issues - 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mertdeg2 committed Dec 3, 2019
1 parent 28b23a9 commit 2ba82b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cdk/overlay/overlay-directives.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ describe('Overlay directives', () => {
});
});

beforeEach(() => {
fixture = TestBed.createComponent(ConnectedOverlayDirectiveTest);
fixture.detectChanges();
});

beforeEach(inject([OverlayContainer, Overlay], (oc: OverlayContainer, o: Overlay) => {
overlayContainer = oc;
overlay = o;
overlayContainerElement = oc.getContainerElement();
}));

beforeEach(inject([OverlayContainer], (oc: OverlayContainer) => {
overlayContainer = oc;
overlayContainerElement = oc.getContainerElement();
}));

afterEach(() => {
overlayContainer.ngOnDestroy();
});
Expand Down

0 comments on commit 2ba82b8

Please sign in to comment.