Skip to content

Function: checkHarness()

Documentation / @wtf/project-wpt / expectations / checkHarness

function checkHarness(
harness,
reason,
id,
source
): void;

Defined in: packages/project-wpt/src/expectations.ts:118

The harness of a file, by what it came to and the reason it is expected not to come to OK: as checkSubtest, a HarnessFailedError or an UnexpectedPassError.

Parameters

ParameterType
harnessHarnessResult
reasonstring | undefined
idstring
sourcestring

Returns

void