chore: fix flaky test on slow browsers
This commit is contained in:
parent
1671c705b8
commit
5bfe3d6fab
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ describe('<lion-textarea>', () => {
|
|||
|
||||
const resizeSpy = sinon.spy(textArea, 'resizeTextarea');
|
||||
el.style.display = 'block';
|
||||
await aTimeout(0);
|
||||
await aTimeout(20);
|
||||
expect(resizeSpy.calledOnce).to.be.true;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue