Skip to content

react

react(options?): object

Defined in: presets/react.ts:10

Vitest preset for React component libraries and apps. Uses jsdom for DOM simulation and assumes @testing-library/react.

{ }

object

test: object

environment: string = "jsdom"

exclude: string[]

fsModuleCachePath: string = MODULE_CACHE_PATH

globals: boolean = true

include: string[]

outputFile: object

junit: string = "./test-report.junit.xml"

reporters: string[]

setupFiles: string[]