jquery-ui/tests/unit
Michał Gołębiowski-Owczarek e7a10c70ae
Tests: Ensure no timers are running at the end of each test (#1920)
This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.

Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.

Closes gh-1920
2020-05-16 09:16:24 +02:00
..
accordion Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
autocomplete Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
button Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
checkboxradio Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
controlgroup Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
core Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
datepicker Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
dialog Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
draggable Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
droppable Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
effects Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
form-reset-mixin Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
menu Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
position Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
progressbar Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
resizable Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
selectable Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
selectmenu Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
slider Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
sortable Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
spinner Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
tabs Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
tooltip Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
widget Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00
all.html Tests: Only test latest patch versions for jQuery Core in TestSwarm 2016-07-08 12:51:44 -04:00
index.html Controlgroup: Inital commit of new widget 2015-10-07 10:57:59 -04:00
subsuite.js Build: Add jQuery 3.5.0 & 3.5.1 2020-05-16 08:27:27 +02:00