QUnit.config.fixture

version added: 1.0.0

In the HTML Reporter, this HTML content will be rendered in the fixture container at the start of each test.

Description

type string or null or undefined
default undefined

By default QUnit will observe the initial content of the #qunit-fixture element, and use that as the fixture content for all tests. Use this option to configure the fixture content through JavaScript instead.

To disable QUnit’s fixture resetting behaviour, set the option to null.