Skip to content

Commit e9953e5

Browse files
committed
fix tests and lint
1 parent d373f27 commit e9953e5

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
@@ -468,7 +468,7 @@ export class MdDrawerContainer implements AfterContentInit, OnDestroy {
468468
if (drawer) {
469469
takeUntil.call(drawer._modeChanged, this._drawers.changes).subscribe(() => {
470470
this._updateContentMargins();
471-
this._changeDetectorRef.markForCheck()
471+
this._changeDetectorRef.markForCheck();
472472
});
473473
}
474474
}

0 commit comments

Comments
 (0)