Skip to content

expectations

Documentation / @wtf/project-wpt / expectations

The known failures of a suite, and what a run of it comes to by them: readExpectations, the file of them, checked; expectationOf, a test file’s; checkSubtest and checkHarness, which throw of a failure no expectation lists, and of an expected failure that passes now; and staleOf, what the expectations name that the suite does not have.

A run is green when only what the expectations list fails, and red when one of them passes, or names what is not there: the list only shrinks, as the WPT of Node’s and of Deno’s.

Type Aliases

Functions