Skip to content

Commit 87459f7

Browse files
committed
fix tests and lint
1 parent 73076be commit 87459f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib/sidenav/drawer.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ describe('MdDrawer', () => {
7676

7777
it('should emit the backdropClick event when the backdrop is clicked', fakeAsync(() => {
7878
let fixture = TestBed.createComponent(BasicTestApp);
79+
fixture.detectChanges();
80+
7981
let testComponent: BasicTestApp = fixture.debugElement.componentInstance;
8082
let openButtonElement = fixture.debugElement.query(By.css('.open')).nativeElement;
8183

src/lib/sidenav/drawer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export class MdDrawerContainer implements AfterContentInit, OnDestroy {
461461
if (drawer) {
462462
takeUntil.call(drawer._modeChanged, this._drawers.changes).subscribe(() => {
463463
this._updateContentMargins();
464-
this._changeDetectorRef.markForCheck()
464+
this._changeDetectorRef.markForCheck();
465465
});
466466
}
467467
}

0 commit comments

Comments
 (0)