Skip to content

Commit

Permalink
fix(material/expansion): fix lint issue (#25469)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Aug 15, 2022
1 parent 2615b5f commit 6dd4b3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/material/expansion/expansion.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ describe('MatExpansionPanel', () => {

it('should be able to render panel content lazily', fakeAsync(() => {
const fixture = TestBed.createComponent(LazyPanelWithContent);
const content = fixture.debugElement.query(By.css('.mat-expansion-panel-content'))!
.nativeElement;
const content = fixture.debugElement.query(
By.css('.mat-expansion-panel-content'),
)!.nativeElement;
fixture.detectChanges();

expect(content.textContent.trim())
Expand All @@ -79,8 +80,9 @@ describe('MatExpansionPanel', () => {

it('should render the content for a lazy-loaded panel that is opened on init', fakeAsync(() => {
const fixture = TestBed.createComponent(LazyPanelOpenOnLoad);
const content = fixture.debugElement.query(By.css('.mat-expansion-panel-content'))!
.nativeElement;
const content = fixture.debugElement.query(
By.css('.mat-expansion-panel-content'),
)!.nativeElement;
fixture.detectChanges();

expect(content.textContent.trim())
Expand Down

0 comments on commit 6dd4b3c

Please sign in to comment.