Browse Source

test: fix lint

pull/26809/head
afc163 4 years ago
committed by zombiej
parent
commit
d5954af85e
  1. 6
      components/typography/__tests__/index.test.js

6
components/typography/__tests__/index.test.js

@ -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();

Loading…
Cancel
Save