Releases: testing-library/dom-testing-library
Releases · testing-library/dom-testing-library
v8.0.0-alpha.3
v8.0.0-alpha.2
v8.0.0-alpha.1
8.0.0-alpha.1 (2021-06-03)
Bug Fixes
BREAKING CHANGES
- Remove deprecated
waitFormDOMChange
- The
timeout
inwaitFor(callback, { interval, timeout } )
now uses the same clock asinterval
. Previouslytimeout
was always using the real clock whileinterval
was using the global clock which could've been mocked out. For the old behavior I'd recommendwaitFor(callback, { interval, timeout: Number.PositiveInfinity })
and rely on your test runner to timeout considering real timers.