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', () => {