defineLibraryVitestConfig
Defines a library package’s vitest configuration: its own projects, wrapped in the shared reporters, excludes and coverage block, with console output from passing tests suppressed.
Import:
import { defineLibraryVitestConfig } from '@mnaoumov/typescript-dev-toolkit/test-runners/vitest-config';Signature:
function defineLibraryVitestConfig(params: DefineLibraryVitestConfigParams): UserConfigParameters:
| Parameter | Type | Description |
|---|---|---|
params |
DefineLibraryVitestConfigParams | The configuration parameters. |
Returns: UserConfig — The vitest configuration.
Links to this page: