QUnit 2.18.0 Released: Add assert.propContains and faster CLI
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()
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