createTestInstance() — vue Function Reference
Architecture documentation for the createTestInstance() function in error-handling.spec.ts from the vue codebase.
Entity Profile
Relationship Graph
Source Code
test/unit/features/error-handling.spec.ts lines 453–466
function createTestInstance(Comp) {
return new Vue({
data: {
n: 0,
ok: true
},
render(h) {
return h('div', [
'n:' + this.n + '\n',
this.ok ? h(Comp, { ref: 'child', props: { n: this.n } }) : null
])
}
}).$mount()
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free