Skip to content

Function: wptSuite()

Documentation / @wtf/project-wpt / suite / wptSuite

function wptSuite(
name,
__namedParameters,
options
): void;

Defined in: packages/project-wpt/src/suite.ts:98

A suite of the WPT, by its name: each test file of its files and dirs, at its commit, run against the globals it maps in, each subtest a test, green when only what its expectations list fails. A suite of no tests is a NoSuiteError, and one of a commit that is no full hash an InvalidCommitError, as Vitest collects it.

Parameters

ParameterType
namestring
__namedParametersWptSystem
optionsWptSuiteOptions

Returns

void