Skip to main content

Interface: VueTestEngineOption

Defined in: vue-3/src/types.ts:17

Option for the Vue createTestEngine. Extends the shared engine option with app-level bootstrap Vue apps commonly need (plugins such as a design system's config plugin, a router, or a store) — component libraries like PrimeVue refuse to render without their plugin installed on the hosting app.

Extends​

  • ITestEngineOption

Properties​

plugins?​

optional plugins?: VuePluginInput[]

Defined in: vue-3/src/types.ts:21

Plugins installed on the test app before the subject renders, in order.

Inherited members (2)

Properties​

parts​

parts: object

Defined in: core/dist/index.d.mts:1090

Inherited from​

ITestEngineOption.parts


rootElement?​

optional rootElement?: Element

Defined in: core/dist/index.d.mts:1117

Element to host the rendered subject. Defaults to document.body for the in-DOM adapters (DOM/React/Vue); ignored by out-of-process adapters such as Playwright.

Inherited from​

ITestEngineOption.rootElement