Skip to content

Interface: ConfigRecord ​

A runner's config that scanned files use. For Playwright and Vitest, the outermost config at or above the file that runs it, up to the root, else the nearest; for Jest, the one at the root and the projects it names; for the other runners, the one config they read for the whole run. Read as code, never run.

Properties ​

relativeFilePath ​

relativeFilePath: string

Path from the project root, with / separators.


extends ​

extends: string[]

Files the config takes settings from through imports, such as a shared base config, in the order read.


projects ​

projects: object[] | null

The projects the config runs tests in: Playwright's projects, or one for a config without them; Vitest's, with each browser instance as one; Cypress's testing types, e2e and component; one for the other runners. Null when the scan can't work them out.

Documentation for test-inventory 0.10.1. Released under the MIT License.