Back to Qunit

QUnit 2.21.0 Released: Add assert.closeTo

docs/_posts/2024-05-29-qunit-2-21-0.md

2.25.01.2 KB
Original Source

Introduce assert.closeTo() to make number comparisons easy. Credit to James M. Greene for the original qunit-assert-close plugin!

This release deprecates tests that don't set a timeout but take longer than 3 seconds. See also How to set a timeout.

Changelog

Added

Deprecated

See also