Skip to content

Commit c9210b8

Browse files
crisbetojosephperrott
authored andcommitted
test(sidenav): fix sidenav failures under Ivy (#15300)
* Fixes one unit test that was depending on static queries. * Fixes the remaining 16 failures that were due to some code that was commented out while waiting for a task which was resolved.
1 parent 04b1706 commit c9210b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/sidenav/drawer.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ describe('MatDrawerContainer', () => {
699699
it('should be able to explicitly enable the backdrop in `side` mode', fakeAsync(() => {
700700
const fixture = TestBed.createComponent(BasicTestApp);
701701
const root = fixture.nativeElement;
702+
fixture.detectChanges();
702703

703704
fixture.componentInstance.drawer.mode = 'side';
704705
fixture.detectChanges();

0 commit comments

Comments
 (0)