chore: fix flaky test on slow browsers

This commit is contained in:
jorenbroekema 2020-10-15 18:27:49 +02:00 committed by Thomas Allmer
parent 1671c705b8
commit 5bfe3d6fab

View file

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