createMockSSRDOM() — vue Function Reference
Architecture documentation for the createMockSSRDOM() function in hydration.spec.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD abf28c46_1d35_b6e4_0a85_0df375d4a718["createMockSSRDOM()"] 754e37a5_ef91_cb81_4a95_9090cb47d2c4["hydration.spec.ts"] abf28c46_1d35_b6e4_0a85_0df375d4a718 -->|defined in| 754e37a5_ef91_cb81_4a95_9090cb47d2c4 style abf28c46_1d35_b6e4_0a85_0df375d4a718 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