Skip to content

Commit 40cb457

Browse files
committed
fix tests and lint
1 parent 4ea049e commit 40cb457

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
@@ -466,7 +466,7 @@ export class MdDrawerContainer implements AfterContentInit, OnDestroy {
466466
if (drawer) {
467467
takeUntil.call(drawer._modeChanged, this._drawers.changes).subscribe(() => {
468468
this._updateContentMargins();
469-
this._changeDetectorRef.markForCheck()
469+
this._changeDetectorRef.markForCheck();
470470
});
471471
}
472472
}

0 commit comments

Comments
 (0)