fixtures#

Variables#

FIXTURES#

const FIXTURES: readonly Example[]

Defined in: editor/src/fixtures.ts:119

The fixture menu’s entries, sorted by label; empty in a production build without the test hook (VITE_TILIE_TEST_HOOK).

Functions#

fixtures()#

fixtures(workspaces, manifests, tables): Example[]

Defined in: editor/src/fixtures.ts:79

The menu’s entries in code-unit order of their labels: every workspace file, every manifest fixture of SCHEMA_VERSION and every warning case of that version among manifests, and the table fixture’s manifest of that version with its MatchClaim table read from tables (servedSource); files of other versions are skipped.

Parameters#

workspaces#

Files

manifests#

Files

tables#

Files

Returns#

Example[]


servedSource()#

servedSource(served): ManifestSource

Defined in: editor/src/fixtures.ts:43

Where the table fixture’s files are served: the location url resolved against the fixture’s directory, read from the one of served (path → the URL it is served at) whose path is that file’s; null for a file that is not served.

Parameters#

served#

Files

Returns#

ManifestSource