Home / Function/ assertBothInstancesActive() — vue Function Reference

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
  390ebad6_9af6_c830_9a87_017160b505ce["assertBothInstancesActive()"]
  5f768e1f_803a_b0bb_2158_66e99b80cba8["error-handling.spec.ts"]
  390ebad6_9af6_c830_9a87_017160b505ce -->|defined in| 5f768e1f_803a_b0bb_2158_66e99b80cba8
  34534e70_353b_d5f2_f88b_a5ba6934c07b["assertRootInstanceActive()"]
  390ebad6_9af6_c830_9a87_017160b505ce -->|calls| 34534e70_353b_d5f2_f88b_a5ba6934c07b
  style 390ebad6_9af6_c830_9a87_017160b505ce 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

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