Skip to content

resolveFixtureDir

resolveFixtureDir(id, root, packageName): string

Defined in: paths.ts:27

Resolves the on-disk directory for a fetched fixture.

string

Fixture id — also its directory name under root.

string

Root the fixture directories live under.

string

The consuming package’s name, used in the error’s “run setup” hint.

string

When setup has not been run for this id — a missing corpus must fail a consuming test, never silently skip it.