createMockSSRDOM() — vue Function Reference
Architecture documentation for the createMockSSRDOM() function in hydration.spec.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 2ccc188a_7b61_e715_84ea_f78d6c735be0["createMockSSRDOM()"] 732f2604_e21c_9dd5_2e49_51c82aefe003["hydration.spec.ts"] 2ccc188a_7b61_e715_84ea_f78d6c735be0 -->|defined in| 732f2604_e21c_9dd5_2e49_51c82aefe003 style 2ccc188a_7b61_e715_84ea_f78d6c735be0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
test/unit/modules/vdom/patch/hydration.spec.ts lines 6–11
function createMockSSRDOM(innerHTML) {
const dom = document.createElement('div')
dom.setAttribute(SSR_ATTR, 'true')
dom.innerHTML = innerHTML
return dom
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createMockSSRDOM() do?
createMockSSRDOM() is a function in the vue codebase, defined in test/unit/modules/vdom/patch/hydration.spec.ts.
Where is createMockSSRDOM() defined?
createMockSSRDOM() is defined in test/unit/modules/vdom/patch/hydration.spec.ts at line 6.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free