提交 c6967577 编写于 作者: W Wei Zhu

Revert "fix test"

This reverts commit f1570c01.

Follow f1570c01
上级 e6c4c666
......@@ -33,9 +33,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
aria-haspopup="true"
class="ant-menu-submenu-title"
>
<span
class="submenu-title-wrapper"
>
<span>
<i
class="anticon anticon-setting"
/>
......
......@@ -85,7 +85,6 @@ describe('Menu', () => {
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).toBe(true);
wrapper.setProps({ openKeys: ['1'] });
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).not.toBe(true);
});
......@@ -104,7 +103,6 @@ describe('Menu', () => {
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).toBe(true);
wrapper.setProps({ openKeys: ['1'] });
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).not.toBe(true);
});
......@@ -123,7 +121,6 @@ describe('Menu', () => {
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).toBe(true);
wrapper.setProps({ openKeys: ['1'] });
wrapper.update();
expect(wrapper.find('.ant-menu-sub').hostNodes().at(0).hasClass('ant-menu-hidden')).not.toBe(true);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册