github testing-library/dom-testing-library v8.0.0-alpha.1

latest releases: v10.4.0, v10.3.2, v10.3.1...
pre-release3 years ago

8.0.0-alpha.1 (2021-06-03)

Bug Fixes

BREAKING CHANGES

  • Remove deprecated waitFormDOMChange
  • The timeout in waitFor(callback, { interval, timeout } ) now uses the same clock as interval. Previously timeout was always using the real clock while interval was using the global clock which could've been mocked out. For the old behavior I'd recommend waitFor(callback, { interval, timeout: Number.PositiveInfinity }) and rely on your test runner to timeout considering real timers.

Don't miss a new dom-testing-library release

NewReleases is sending notifications on new releases.