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

Latest commit

 

History

History
27 lines (23 loc) · 902 Bytes

File metadata and controls

27 lines (23 loc) · 902 Bytes
layout page-api
title QUnit.config.storage
excerpt The Storage object to use for remembering failed tests between runs.
groups
config
redirect_from
/config/storage/
version_added 2.1.0

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.