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 2d7989b0_6bdf_12c1_b0b6_347392b1a42b["assertBothInstancesActive()"] 7d1a98d8_1464_19b3_c499_434a8f30f417["error-handling.spec.ts"] 2d7989b0_6bdf_12c1_b0b6_347392b1a42b -->|defined in| 7d1a98d8_1464_19b3_c499_434a8f30f417 458c06ff_c2e8_c405_c479_1b509c5e0427["assertRootInstanceActive()"] 2d7989b0_6bdf_12c1_b0b6_347392b1a42b -->|calls| 458c06ff_c2e8_c405_c479_1b509c5e0427 style 2d7989b0_6bdf_12c1_b0b6_347392b1a42b 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
Defined In
Source
Frequently Asked Questions
What does assertBothInstancesActive() do?
assertBothInstancesActive() is a function in the vue codebase, defined in test/unit/features/error-handling.spec.ts.
Where is assertBothInstancesActive() defined?
assertBothInstancesActive() is defined in test/unit/features/error-handling.spec.ts at line 476.
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