MCPcopy Create free account
hub / github.com/vuejs/test-utils / plugin

Function plugin

tests/features/plugins.spec.ts:51–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 it('extends wrappers with the return values from the install function', () => {
50 const width = 230
51 const plugin = () => ({ width })
52 config.plugins.VueWrapper.install(plugin)
53 const wrapper = mountComponent()
54 expect(wrapper).toHaveProperty('width', width)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…