]> source.dussan.org Git - jquery-ui.git/commit
Tests: Increase robustness of a draggable `revert` test
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Fri, 12 Apr 2024 13:23:05 +0000 (15:23 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2024 13:23:05 +0000 (15:23 +0200)
commite7a0da63eabec24120223e947a9d14c648c52d9e
tree9098eef01ad42e9a046f2e10da01b216263d66e7
parentab2a2a973e1f49e68d73b8afd7ffa4698bd26962
Tests: Increase robustness of a draggable `revert` test

One of the changes is increasing `revertDuration` from 200 to 300. For some
reason, when jQuery 3.1 is used in an iframe (which TestSwarm uses) the timings
are lower than expected and `setTimeout` too slow and the check for animation
happens too late.

Closes gh-2230
tests/unit/draggable/options.js