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
  0a7cbc09_3890_89a8_7492_0e0ff39b0daa["testMethods()"]
  552fd830_8532_a5a2_6be7_03cacc9847f6["testConfig()"]
  552fd830_8532_a5a2_6be7_03cacc9847f6 -->|calls| 0a7cbc09_3890_89a8_7492_0e0ff39b0daa
  style 0a7cbc09_3890_89a8_7492_0e0ff39b0daa 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.
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