Skip to content

Commit

Permalink
fix:grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
coderz-w committed Jun 20, 2024
1 parent b7ae918 commit ec0d1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/SubMenu.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('SubMenu', () => {
).textContent;
expect(childText).toEqual('submenu');
});
it("The submenu item with key '' must not persistently remain active.", () => {
it(`The submenu item with key '' must not persistently remain active`, () => {
const { container } = render(
<Menu
mode="horizontal"
Expand All @@ -171,7 +171,7 @@ describe('SubMenu', () => {
]}
/>,
);
expect(container.querySelector('.rc-menu-submenu-active')).toBeFalsy()
expect(container.querySelector('.rc-menu-submenu-active')).toBeFalsy();
});

describe('openSubMenuOnMouseEnter and closeSubMenuOnMouseLeave are true', () => {
Expand Down

0 comments on commit ec0d1eb

Please sign in to comment.