Back to Qunit

QUnit 2.18.0 Released: Add assert.propContains and faster CLI

docs/_posts/2022-02-15-qunit-2-18-0.md

2.25.01.2 KB
Original Source

Introduce partial object comparison, support TypeScript in watch mode, add global hooks, and even faster CLI startup in watch mode.

Changelog

Added

  • Assert: New [assert.propContains()]({% link api/assert/propContains.md %}) for partial object comparison. (Izel Nakri) #1668
  • Core: Add QUnit.hooks to globally add beforeEach and afterEach. (Timo Tijhof) #1475
  • CLI: Add support for watching .ts files when TypeScript is used. (Timo Tijhof) #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. (Timo Tijhof) #1667
  • CLI: Improve performance of watch mode by recursively ignoring directories. (Timo Tijhof) #1676

See also

  • Git tag: 2.18.0
  • [QUnit 2.11.1 Released: Even faster CLI startup]({% post_url 2020-08-25-qunit-2-11-1 %})
  • [QUnit 2.9.3 Released: Faster CLI startup]({% post_url 2019-10-08-qunit-2-9-3 %})