Skip to content

Function: checkSubtest()

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

function checkSubtest(
result,
reason,
source
): void;

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

A subtest, by what it came to and the reason it is expected to fail, if one is: a failure of no reason a SubtestFailedError; a pass of one, an UnexpectedPassError.

Parameters

ParameterType
resultSubtestResult
reasonstring | undefined
sourcestring

Returns

void