Skip to content

Commit

Permalink
build: fix CI failures
Browse files Browse the repository at this point in the history
Fixes a lint issue and a type error.
  • Loading branch information
crisbeto committed Oct 10, 2024
1 parent b3faeab commit 6a6db1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/component-sidenav/component-sidenav.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('ComponentSidenav', () => {
waitForAsync(() => {
expect(component.sidenav() instanceof MatSidenav).toBeTruthy();
component.isScreenSmall.pipe(take(1)).subscribe(isSmall => expect(isSmall).toBeTruthy());
expect(component.sidenav().opened).toBe(false);
expect(component.sidenav()!.opened).toBe(false);
});
});

Expand Down
6 changes: 1 addition & 5 deletions src/app/pages/component-sidenav/component-sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import {AsyncPipe} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {MatIconModule} from '@angular/material/icon';
import {MatListModule} from '@angular/material/list';
import {
MatSidenav,
MatSidenavModule,
MatDrawerToggleResult,
} from '@angular/material/sidenav';
import {MatSidenav, MatSidenavModule} from '@angular/material/sidenav';
import {
ActivatedRoute,
Params,
Expand Down

0 comments on commit 6a6db1c

Please sign in to comment.