test: fix lint

This commit is contained in:
afc163 2020-09-16 17:36:44 +08:00
parent cc6d2f2157
commit 2980444bd6

View File

@ -186,7 +186,11 @@ describe('Typography', () => {
it('should have custom expand style', async () => {
const symbol = 'more';
const wrapper = mount(<Base ellipsis={{ expandable: true, symbol }} component="p"></Base>);
const wrapper = mount(
<Base ellipsis={{ expandable: true, symbol }} component="p">
{fullStr}
</Base>,
);
await sleep(20);
wrapper.update();