Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.9.3
Added
- HTML Reporter: Display progress and runtime while test suite is executing. (Stefan Penner) #1398
Fixed
- CLI: Ignore folders mentioned in the gitignore to improve performance. (SparshithNRai)
- Core: Defer getting the stack trace to improve performance. (Adam Byrne)
- Core: Let
assert.timeout()
replace the timeout ifconfig.timeout
was already set.
2.9.2
2.9.1
2.9.0
2.8.0
Added
- Core: Add support for async functions and Promise-returns to QUnit event handlers. These can now be used via
QUnit.begin
,QUnit.moduleStart
,QUnit.testStart
,QUnit.testDone
,QUnit.moduleDone
, andQUnit.done
. (Stephen Yeung) #1307 - Core: Add stack trace to uncaught error if the browser supports it. (Anand Thakker)
Changed
- HTML Reporter: Add a
running
class to list items, for use by plugins. This was previously removed in 2.7.0. #1323
2.7.1
Fixed
- Core: Avoid breaking tests if the browser throws an error from
performance.measure
. (Gabriel Csapo)
2.7.0
2.6.2
- Build: Bump packages identified by npm audit
- Build: Remove Browserstack
- Build: Upgrade grunt-coveralls to 2.0.0 (#1305)
- CLI: [fixes #121] chokidar -> sane (#1283)
- Tests: fix HTTP 404 error for the Qunit CSS in one of the test files (#1297)
- pushResult() doesn't ever return a value: it's always undefined/void.
- Update
fsevents
subdependency for Node 10 compat - Core: Extract QUnit.module to its own file
- Docs: Fix Jekyll build (remove conflicting file/dir names)
- Docs: Set up redirects for old urls
- Docs: Fix broken QUnit.stop link from assert/async and add redirect (#1291)
- Build: Stop testing on Node 4 & 9
- Docs: Remove unused config and group settings
2.6.1
- Test: Prevent global.QUnit leakage between node and browser tests.
- Core: Ensure test callbacks and module hooks are released.
- Test: Failing test with memory leak via retained hooks/callbacks.
- Test: Add Node 10 testing to CI.
- HTML Reporter: Disable autocomplete on module search input (#1277)
- All: Enable ESLint recommended rules
2.6.0
- Core: Ensure late-add high-priority tests are inserted in proper order
- CLI: Implement --require option
- Test: Refactor startError test to not reload QUnit
- Core: Throw error if no tests are run
- Assert: Support rejecting falsy values against no matcher in rejects
- Assert: Clone actual steps array to avoid passing internal reference
- Test: Add failing test for verifySteps passing reference to log
- Docs: Note that non-string values fail assert.step()
- Assert: Fail test when passing a non string value to assert.step
- Core: Extract currently running test out of config.queue into internal testQueue (#1260)