We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72360e2 commit 0113c38Copy full SHA for 0113c38
src/lib/menu/menu.spec.ts
@@ -974,7 +974,7 @@ describe('MdMenu', () => {
974
.not.toContain('mat-elevation-z3', 'Expected no stacked elevation.');
975
});
976
977
- it('should close all of the menus when the root is closed programmatically', () => {
+ it('should close all of the menus when the root is closed programmatically', fakeAsync(() => {
978
compileTestComponent();
979
instance.rootTrigger.openMenu();
980
fixture.detectChanges();
@@ -991,9 +991,10 @@ describe('MdMenu', () => {
991
992
instance.rootTrigger.closeMenu();
993
994
+ tick(500);
995
996
expect(overlay.querySelectorAll('.mat-menu-panel').length).toBe(0, 'Expected no open menus');
- });
997
+ }));
998
999
1000
0 commit comments