QUnit.config.storage

version added: 2.1.0

Description

The Storage object to use for remembering failed tests between runs.

type object or undefined
default globalThis.sessionStorage

This is mainly for use by the HTML Reporter, where sessionStorage will be used if supported by the browser.

While Node.js and other non-browser environments are not known to offer something like this by default, one can attach any preferred form of persistence by assigning an object that implements the Storage interface methods of the Web Storage API.