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

Method render

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

Source from the content-addressed store, hash-verified

23 class MyComp extends Vue {
24 message = 'answer is ' + (this.$props as any).foo
25 render() {
26 return h('div', this.message)
27 }
28 }
29
30 const wrapper = mount(MyComp, {

Callers

nothing calls this directly

Calls 1

contentMethod · 0.95

Tested by

no test coverage detected