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
  84fb879b_4231_08c7_b6cf_181122088ccb["testMethods()"]
  25effca2_c2c7_284b_3dc7_c79887320755["Test"]
  84fb879b_4231_08c7_b6cf_181122088ccb -->|defined in| 25effca2_c2c7_284b_3dc7_c79887320755
  3eb35f0d_6dc1_f72c_c071_2d54958e371a["testConfig()"]
  3eb35f0d_6dc1_f72c_c071_2d54958e371a -->|calls| 84fb879b_4231_08c7_b6cf_181122088ccb
  style 84fb879b_4231_08c7_b6cf_181122088ccb 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