Skip to content

config

Documentation / @wtf/project-vitest / config

The Vitest configs of a pnpm workspace of packages: rootConfig() for the root’s vitest.config.ts, which runs each package as a project beside the repo’s guards in test/, and packageConfig() for each package’s; integrationConfig() for the root’s vitest.integration.config.ts, and integration, what a package’s own integration config gives packageConfig(). The tests of a browser, each *.browser.test.{ts,tsx}, run by ./browser.

The tests read the workspace’s packages from their source, with no build first (test); or from what the build wrote, with TEST_FROM=dist (test:dist), each as it is published.

Type Aliases

Variables

Functions