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 21f10059_e036_55c2_a55a_987fe5e3bc3c["assertBothInstancesActive()"] 065fedb4_7fba_ec80_9c2c_5230e34a0f26["assertRootInstanceActive()"] 21f10059_e036_55c2_a55a_987fe5e3bc3c -->|calls| 065fedb4_7fba_ec80_9c2c_5230e34a0f26 style 21f10059_e036_55c2_a55a_987fe5e3bc3c 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