MCPcopy
hub / github.com/vuejs/core / render

Function render

packages/server-renderer/__tests__/render.spec.ts:72–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 test('should apply app context', async () => {
71 const app = createApp({
72 render() {
73 const Foo = resolveComponent('foo') as ComponentOptions
74 return h(Foo)
75 },
76 })
77 app.component('foo', {
78 render: () => h('div', 'foo'),

Callers 1

testRenderFunction · 0.70

Calls 2

resolveComponentFunction · 0.85
hFunction · 0.85

Tested by

no test coverage detected