From ec0d1eb6a2c8b043a9b0257e9cc21d64cbea314a Mon Sep 17 00:00:00 2001 From: zhwcreate <3331598351@qq.com> Date: Thu, 20 Jun 2024 13:42:49 +0800 Subject: [PATCH] fix:grammar --- tests/SubMenu.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SubMenu.spec.tsx b/tests/SubMenu.spec.tsx index 5ec7fead..4553e10d 100644 --- a/tests/SubMenu.spec.tsx +++ b/tests/SubMenu.spec.tsx @@ -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( { ]} />, ); - expect(container.querySelector('.rc-menu-submenu-active')).toBeFalsy() + expect(container.querySelector('.rc-menu-submenu-active')).toBeFalsy(); }); describe('openSubMenuOnMouseEnter and closeSubMenuOnMouseLeave are true', () => {