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

Method render

tests/features/classComponent.spec.ts:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 it('minimal class component', () => {
10 class Foo extends Vue {
11 render() {
12 return h('span')
13 }
14 }
15 const wrapper = mount(Foo)
16 expect(wrapper.find('span').exists()).toBe(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected