Skip to content

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

Variable: default

const default: () => Plugin[]

Defined in: packages/cli/dist/vitest-plugin.d.ts:9

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 exposed to every test worker, and a headless display per worker.

Returns

Plugin[]

The plugins to spread into a Vitest config.

Released under the MPL-2.0 License.