expectTextContent() — vue Function Reference
Architecture documentation for the expectTextContent() function in once.spec.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 9b61c6e6_b8dd_be30_b2ab_ce40ca5e47bb["expectTextContent()"] 7cdf3d02_a585_8f24_c0ea_b33d8e0206f3["once.spec.ts"] 9b61c6e6_b8dd_be30_b2ab_ce40ca5e47bb -->|defined in| 7cdf3d02_a585_8f24_c0ea_b33d8e0206f3 style 9b61c6e6_b8dd_be30_b2ab_ce40ca5e47bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
test/unit/features/directives/once.spec.ts lines 384–386
function expectTextContent(vm, text) {
expect(vm.$el.textContent.replace(/\s+/g, '')).toBe(text)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does expectTextContent() do?
expectTextContent() is a function in the vue codebase, defined in test/unit/features/directives/once.spec.ts.
Where is expectTextContent() defined?
expectTextContent() is defined in test/unit/features/directives/once.spec.ts at line 384.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free