Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 6a6db1c

Browse files
committed
build: fix CI failures
Fixes a lint issue and a type error.
1 parent b3faeab commit 6a6db1c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/app/pages/component-sidenav/component-sidenav.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('ComponentSidenav', () => {
3030
waitForAsync(() => {
3131
expect(component.sidenav() instanceof MatSidenav).toBeTruthy();
3232
component.isScreenSmall.pipe(take(1)).subscribe(isSmall => expect(isSmall).toBeTruthy());
33-
expect(component.sidenav().opened).toBe(false);
33+
expect(component.sidenav()!.opened).toBe(false);
3434
});
3535
});
3636

src/app/pages/component-sidenav/component-sidenav.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ import {AsyncPipe} from '@angular/common';
1616
import {FormsModule} from '@angular/forms';
1717
import {MatIconModule} from '@angular/material/icon';
1818
import {MatListModule} from '@angular/material/list';
19-
import {
20-
MatSidenav,
21-
MatSidenavModule,
22-
MatDrawerToggleResult,
23-
} from '@angular/material/sidenav';
19+
import {MatSidenav, MatSidenavModule} from '@angular/material/sidenav';
2420
import {
2521
ActivatedRoute,
2622
Params,

0 commit comments

Comments
 (0)