Function: configureTermwright()
@termwright/test / configureTermwright
Function: configureTermwright()
Section titled “Function: configureTermwright()”configureTermwright(
config):ResolvedTermwrightConfig
Defined in: test/src/config.ts:399
Installs the project configuration. Call it from a Vitest setupFiles
module; every fixture and matcher created afterwards observes it.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”Example
Section titled “Example”import { configureTermwright } from '@termwright/test';import config from './termwright.config.js';
configureTermwright(config);