Home / Function/ testMethods() — vue Function Reference

testMethods() — vue Function Reference

Architecture documentation for the testMethods() function in vue-test.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  f6185d40_c542_41d4_4964_1ab5b34b4ce8["testMethods()"]
  d22bce74_0b1e_4cc4_b52b_fe47e1198100["Test"]
  f6185d40_c542_41d4_4964_1ab5b34b4ce8 -->|defined in| d22bce74_0b1e_4cc4_b52b_fe47e1198100
  85c88fdc_1675_33b9_378a_68c097aa0377["testConfig()"]
  85c88fdc_1675_33b9_378a_68c097aa0377 -->|calls| f6185d40_c542_41d4_4964_1ab5b34b4ce8
  style f6185d40_c542_41d4_4964_1ab5b34b4ce8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/test/vue-test.ts lines 37–60

  testMethods() {
    this.$mount('#app', false)
    this.$forceUpdate()
    this.$destroy()
    this.$set({}, 'key', 'value')
    this.$delete({}, 'key')
    this.$watch('a', (val: number, oldVal: number) => {}, {
      immediate: true,
      deep: false
    })()
    this.$watch(
      () => this.a,
      (val: number) => {}
    )
    this.$on('', () => {})
    this.$once('', () => {})
    this.$off('', () => {})
    this.$emit('', 1, 2, 3)
    this.$nextTick(function () {
      this.$nextTick
    })
    this.$nextTick().then(() => {})
    this.$createElement('div', {}, 'message')
  }

Domain

Subdomains

Called By

Frequently Asked Questions

What does testMethods() do?
testMethods() is a function in the vue codebase, defined in types/test/vue-test.ts.
Where is testMethods() defined?
testMethods() is defined in types/test/vue-test.ts at line 37.
What calls testMethods()?
testMethods() is called by 1 function(s): testConfig.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free