Skip to content

Type Alias: Globals

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

type Globals = Readonly<Record<string, unknown>>;

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

The globals of a test file’s context, by their names: the implementation under test, as { BroadcastChannel, navigator: { locks } }. Each is over the built-ins of the context, and undefined takes one out.