Skip to content

API Reference / @gtkx/cli / vitest-plugin / default

Function: default() ​

default(options?): Plugin<any>[]

Defined in: packages/cli/src/vitest-plugin.ts:16

Vite plugin stack for testing a GTKX application: the generated bindings the tests import, the plugins the app is built with, the project's compiled GSettings schemas and its configured application icon exposed to every test worker, and a headless display per worker.

Parameters ​

options? ​

PluginOptions = {}

Returns ​

Plugin<any>[]

The plugins to spread into a Vitest config.