test: update typography test
parent
b9ff4eabcc
commit
4204ff0736
|
@ -75,7 +75,7 @@ describe('Typography', () => {
|
|||
expect(onEllipsis).toHaveBeenCalledWith(true);
|
||||
onEllipsis.mockReset();
|
||||
wrapper.setProps({ ellipsis: { rows: 2, onEllipsis } });
|
||||
await sleep(100);
|
||||
await sleep(300);
|
||||
expect(wrapper.text()).toEqual('Bamboo is Little Light Bamboo is Litt...');
|
||||
expect(onEllipsis).not.toHaveBeenCalled();
|
||||
|
||||
|
|
Loading…
Reference in New Issue