提交 cc6d2f21 编写于 作者: A afc163

test: ignore code which never run into

上级 068d2bc9
......@@ -186,16 +186,10 @@ describe('Typography', () => {
it('should have custom expand style', async () => {
const symbol = 'more';
const wrapper = mount(
<Base ellipsis={{ expandable: true, symbol }} component="p">
{fullStr}
</Base>,
);
const wrapper = mount(<Base ellipsis={{ expandable: true, symbol }} component="p"></Base>);
await sleep(20);
wrapper.update();
expect(wrapper.find('.ant-typography-expand').text()).toEqual('more');
});
it('can use css ellipsis', () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册