Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 899 Bytes

File metadata and controls

29 lines (24 loc) · 899 Bytes
layout page-api
title QUnit.config.notrycatch
excerpt Disable handling of uncaught exceptions during tests.
groups
config
redirect_from
/config/notrycatch/
version_added 1.0.0

Disable handling of uncaught exceptions during tests.

type `boolean`
default `false`

This option can also be controlled via the [HTML Reporter](../../intro.md#in-the-browser) 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.