Skip to content

Function: checkoutWpt()

Documentation / @wtf/project-wpt / checkout / checkoutWpt

function checkoutWpt(options, __namedParameters): Promise<string>;

Defined in: packages/project-wpt/src/checkout.ts:156

The folder of a checkout of the WPT at its commit that has each of files, dirs and resources, each a path from its root, and the harness; fetched by git of what it lacks, sparse, or as it is, of none. A file the WPT’s server serves at another path is checked out as the file it serves. A fetch that fails is a WptFetchError; a path the WPT does not have at the commit, a NotInWptError.

Parameters

ParameterType
optionsCheckoutOptions
__namedParametersWptPaths

Returns

Promise<string>