Skip to content

Type Alias: Expectations

Documentation / @wtf/project-wpt / index / Expectations

type Expectations = Readonly<Record<string, FileExpectation>>;

Defined in: packages/project-wpt/src/index.ts:208

The known failures of a suite, by the id of each test file: its path, or its path and a variant, which is over the path’s. A run is green when only these fail, and red when one passes, so the list only shrinks.

{
"encoding/streams/decode-utf8.any.js": {
"fail": { "decoding a transferred ArrayBuffer chunk should give no output": "no transfer" }
},
"url/url-constructor.any.js": { "skip": "fetches its data, and the suite maps no fetch" }
}