Skip to content

Commit c575120

Browse files
committed
fix tests and lint
1 parent 4ef59f3 commit c575120

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
@@ -453,7 +453,7 @@ export class MdDrawerContainer implements AfterContentInit {
453453
if (drawer) {
454454
takeUntil.call(drawer._modeChanged, this._drawers.changes).subscribe(() => {
455455
this._updateContentMargins();
456-
this._changeDetectorRef.markForCheck()
456+
this._changeDetectorRef.markForCheck();
457457
});
458458
}
459459
}

0 commit comments

Comments
 (0)