assertBothInstancesActive() — vue Function Reference
Architecture documentation for the assertBothInstancesActive() function in error-handling.spec.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 7edeeb45_5f58_c8be_6858_eba7de9908c4["assertBothInstancesActive()"] 33a3229e_c2da_09a0_a179_3db3a7fa2acf["assertRootInstanceActive()"] 7edeeb45_5f58_c8be_6858_eba7de9908c4 -->|calls| 33a3229e_c2da_09a0_a179_3db3a7fa2acf style 7edeeb45_5f58_c8be_6858_eba7de9908c4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
test/unit/features/error-handling.spec.ts lines 476–487
function assertBothInstancesActive(vm) {
vm.n = 0
return waitForUpdate(() => {
expect(vm.$refs.child.$el.innerHTML).toContain('0')
}).thenWaitFor(next => {
assertRootInstanceActive(vm)
.then(() => {
expect(vm.$refs.child.$el.innerHTML).toContain('1')
})
.end(next)
})
}
Domain
Subdomains
Source
Frequently Asked Questions
What does assertBothInstancesActive() do?
assertBothInstancesActive() is a function in the vue codebase.
What does assertBothInstancesActive() call?
assertBothInstancesActive() calls 1 function(s): assertRootInstanceActive.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free