Skip to content

Commit cb8de61

Browse files
crisbetoandrewseguin
authored andcommitted
test(cdk-experimental/menu): fix test failure
Fixes a test failure that seems to be due to a couple of overlapping PRs landing at the same time.
1 parent 3828b7e commit cb8de61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cdk-experimental/menu/menu-bar.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ describe('MenuBar', () => {
894894
it('should close the open menu when clicking on an inline menu item', () => {
895895
openMenu();
896896

897-
nativeInlineMenuItem.click();
897+
dispatchMouseEvent(nativeInlineMenuItem, 'mousedown');
898898
detectChanges();
899899

900900
expect(popoutMenus.length).toBe(0);

0 commit comments

Comments
 (0)