Skip to content

Releases: qunitjs/qunit

2.9.1

07 Jan 16:47
Compare
Choose a tag to compare

Fixed

  • Release: Restore missing files that were accidentally missing in the 2.9.0 npm package. #1368

2.9.0

06 Jan 22:57
Compare
Choose a tag to compare

Fixed

  • Assert: Report errors from assert.throws() as strings. #1333
  • CLI: Reduce size of the npm package dependency tree. (Timo Tijhof) #1342
  • HTML Reporter: Fix an unescaped details.source. (Shlomi Fish) #1341

2.8.0

02 Nov 16:21
Compare
Choose a tag to compare

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, and QUnit.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

17 Oct 17:02
Compare
Choose a tag to compare

Fixed

  • Core: Avoid breaking tests if the browser throws an error from performance.measure. (Gabriel Csapo)

2.7.0

10 Oct 15:48
Compare
Choose a tag to compare

Added

  • HTML Reporter: Add "User Timings" for each test to the browser's Performance Timeline. (Tobias Bieniek) #1296

Fixed

  • CLI: Remove need for fsevents extension by upgrading the sane package. (Stefan Penner) #1314
  • HTML Reporter: Fix XHTML output issue. (Shlomi Fish) #1317

2.6.2

19 Aug 20:02
Compare
Choose a tag to compare
  • 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

16 May 02:46
Compare
Choose a tag to compare
  • 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

27 Mar 02:26
Compare
Choose a tag to compare
  • 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)

2.5.1

28 Feb 01:49
Compare
Choose a tag to compare
  • Docs: Align assert.throws() and assert.rejects() docs (#1265)
  • Build: Use Node 9.x for matrix, cache node_modules
  • Docs: Remove unexpected throw statement in examples
  • Docs: Note that assert.rejects() also accepts an error object as matcher
  • Docs: Mark the second parameter of assert.rejects() as optional
  • Docs: Remove redundant expression from verifySteps' description (#1262)
  • Docs: Fix typo in docs for QUnit.module (#1257)
  • Core: Release all processing locks when Promise rejects from a test
  • Assert: Fail test when using step inside a test without verifySteps
  • HTML Reporter: Ensure attributes on qunit-fixture are reset.
  • Test: Add failing test for fixture attribute leakage.
  • Tests: refactor fixture reset tests to be more strict

2.5.0

10 Jan 03:07
Compare
Choose a tag to compare
  • Core: Capture the proper stack trace in onUnhandledRejection.
  • Core: Remove delay parameters from setTimeouts in processing code (#1246)
  • Core: Add QUnit.onUnhandledRejection.
  • CLI: Ensure an unhandled rejection results in a failed test.
  • Assert: Add assert.rejects.
  • Assert: Reset internal steps list after verifySteps
  • HTML Reporter: Ensure unhandled rejection fails.
  • Docs: Add example for async test with assert.timeout
  • Docs: Add assert.rejects API documentation.
  • Docs: assert.verifySteps() called multiple times.
  • Tests: Fix no-multi-spaces violation found by latest ESLint
  • Tests: Address feedback, use more idiomatic promise chaining.
  • Tests: Update CLI test and test fixture to remove stacktrace ambiguity.
  • Tests: Update tests for unhandled rejection scenarios.
  • Tests: Add test for notrycatch doesn't catch.
  • Tests: Reject async test promise when config.notrycatch is set.
  • Tests: Add Node 9 to test matrix.
  • Tests: Drop Node 7 from CI.
  • Build: Use babel-preset-env and .babelrc
  • All: Enable ESLint no-multi-spaces rule (#1234)
  • All: Fixes spelling of 'occurred'