QUnit
  • Guides
    • Getting Started
    • Download
    • Browser Runner
    • Command-line Interface
    • Compatibility
    • Test lifecycle
    • QUnit 2.0 Upgrade Guide
  • Documentation
  • Blog
  • Community
    • Support & Chat
    • Plugins
    • Who's using QUnit?
    • About QUnit
    • Badge
    • Brand Guidelines

QUnit 2.26.0 Released: Return from assert.rejects

Posted on 31 May 2026 by Timo Tijhof

Added

  • Assert: Return error value from assert.rejects() and assert.throws(), for example to run other assertions against your rejection value. (Bartosz DziewoƄski) #1824
  • CLI: Add support for --reporter with local script. (Jordan Kasper, Timo Tijhof) #1823
  • Core: Introduce QUnit.config.ignoreUnhandledRejections. (Timo Tijhof) #1829

See also

  • Git tag: 2.26.0

Recent blog posts

  • QUnit 2.26.0 Released: Return from assert.rejects
  • QUnit 2.25.0 Released: Add callback filter
  • QUnit 2.24.3 Released: Bug fix
  • QUnit 2.24.2 Released: Bug fix
  • Test lifecycle diagram

Tags

  • Feature
  • Notes
  • Release

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011

GitHub Chat Mastodon Bluesky Twitter

Copyright OpenJS Foundation and contributors.
Edit this page