QUnit.config.notrycatch

version added: 1.0.0.

Description

Disable handling of uncaught exceptions during tests.

type boolean
default false

This option can also be controlled via the HTML Reporter interface, and is supported as URL query parameter.

By default, QUnit handles uncaught exceptions during test execution and reports them as test failures. This lets other tests continue running and allows reporters to summarise results.

Enabling this flag will disable this error handling, allowing you to more easily debug uncaught exceptions through developer tools.