Skip to main content

Type Alias: VuePluginInput

VuePluginInput = NonNullable<NonNullable<RenderOptions<unknown>["global"]>["plugins"]>[number]

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

A Vue plugin to install on the test app, optionally with its options — the same shape Vue's app.use(plugin, ...options) accepts.

Derived from @testing-library/vue's own global.plugins type rather than re-declared from Vue's Plugin, so the two are identical by construction. A re-declaration is only equal while both resolve the same vue type instance: with two vue copies in the tree (a layout pnpm can produce), Plugin-from-copy-A is not assignable to Plugin-from-copy-B, and the v0.103.0 release was blocked by exactly that mismatch surfacing in CI.