Qunit Versions Save

🔮 An easy-to-use JavaScript unit testing framework.

2.20.1

3 months ago

Fixed

  • Core: Fix compatibility with sinon.useFakeTimers in IE 10 and IE 11. (@timmywil) #1738
  • Core: Fix hanging assert.async() after assert.timeout(). (@Krinkle) #1705

2.20.0

8 months ago

Added

  • Core: Add QUnit.reporters.perf. (@Krinkle) #1714

Changed

  • Assert: Add type check for assert.async() parameter. (@zixinyin) #1721
  • HTML Reporter: Remove units for 0 values in qunit.css. (@hareesh-pillai) #1715

Fixed

  • Core: Faster inArray by using Array.prototype.includes when possible. (@izelnakri)

2.19.4

1 year ago

Fixed

  • Core: Fix memory leak via config.timeoutHandler from last async test. (Sergey Astapov @SergeAstapov)
  • Docs: Fix several typos. (@AndrewDawes, @timgates42)

2.19.3

1 year ago

Fixed

  • Assert: Restore how deepEqual treats imposter objects. #1706

2.19.2

1 year ago

Changed

  • Core: Faster diffing for config.noglobals by refactoring slow mutations. (@izelnakri) #1697
  • Assert: Improve performance of QUnit.equiv(). (@izelnakri) #1700
  • Assert: Faster deepEqual for Map values by avoiding typeEquiv calls. (@Krinkle)
  • Assert: Faster deepEqual by reducing internal objectType checks. (@Krinkle)
  • Assert: Faster deepEqual by using re-assignment for internal pairs. (@Krinkle)

Fixed

  • Core: Fix inaccurate count in reporter output after re-run. #1687
  • CLI: Fix MaxListeners warning in long-running watch mode. #1692

2.19.1

2 years ago

Fixed

  • HTML Reporter: Restore float-clear for narrow viewports. 87c90ce2e0

2.19.0

2 years ago

Added

Changed

  • HTML Reporter: Improve accessibility, design, and fuzziness of the module filter. (@Krinkle) #1664, #1685

Fixed

  • Core: Fix event "runtime" data to be rounded to milliseconds.
  • Core: Fix pretty stacktrace shortening to work on Windows.
  • HTML Reporter: Faster toolbar setup by re-using beginDetails.

2.18.2

2 years ago

Changed

  • HTML Reporter: Improve accessibility and design of the module filter. (Timo Tijhof) #1664
  • HTML Reporter: Improve fuzzy-matching of the module filter. #1685

Fixed

  • HTML Reporter: Faster rendering of module filter results. (Thanks @mixonic!) #1664, #1685
  • HTML Reporter: Fix retention of state over multiple module searches. (Thanks @jembezmamy!) #1683
  • HTML Reporter: Fix runtime to be rounded in Chromium. #1678

2.18.1

2 years ago

Fixed

  • HTML Reporter: Fix source attribution for test definitions. (Thanks @phanirithvij!) #1679
  • Core: Fix preconfig support in SpiderMonkey and other environments. 0befe2aafe
  • Core: Improve performance of async pauses with native Map when available. aa7314b431

2.18.0

2 years ago

Added

  • Assert: New assert.propContains() for partial object comparison. (@izelnakri) #1668
  • Core: Add QUnit.hooks to globally add beforeEach and afterEach. (@Krinkle) #1475
  • CLI: Add support for watching .ts files when TypeScript is used. #1669
  • CLI: Add support for watching .json, .cjs, and .mjs files. #1676

Fixed

  • CLI: Fix ESM file imports on Windows to use file-protocol URLs. #1667
  • CLI: Improve performance of watch mode by recursively ignoring directories. (@Krinkle) #1676