MCPcopy Create free account

hub / github.com/vuejs/test-utils / functions

Functions316 in github.com/vuejs/test-utils

↓ 1 callersFunctiongetInstanceOptions
( options: MountingOptions<any> & Record<string, any> )
src/createInstance.ts:52
↓ 1 callersFunctiongetRootNodes
(vnode: VNode)
src/utils/getRootNodes.ts:5
↓ 1 callersFunctionhandler
()
tests/setData.spec.ts:38
↓ 1 callersFunctionhasSetupState
( vm: ComponentPublicInstance )
src/utils.ts:219
↓ 1 callersMethodhello
()
tests/features/classComponent.spec.ts:57
↓ 1 callersFunctionisAttributeVisible
(element: T)
src/utils/isElementVisible.ts:22
↓ 1 callersFunctionisClass
(obj: unknown)
src/utils.ts:75
↓ 1 callersFunctionisClassComponent
(component: unknown)
src/utils.ts:127
↓ 1 callersFunctionisCompatEnabled
(key: string)
src/utils/vueCompatSupport.ts:5
↓ 1 callersFunctionisElementVisible
(element: T)
src/utils/isElementVisible.ts:29
↓ 1 callersFunctionisRefSelector
( selector: string | RefSelector )
src/utils.ts:174
↓ 1 callersFunctionisScriptSetup
( vm: ComponentPublicInstance )
src/utils.ts:230
↓ 1 callersFunctionisStyleVisible
(element: T)
src/utils/isElementVisible.ts:7
↓ 1 callersFunctionkebabToPascalCase
(tag: string)
src/vnodeTransformers/stubComponentsTransformer.ts:59
↓ 1 callersFunctionmergeAppConfig
( configGlobalConfig: GlobalMountOptions['config'], mountGlobalConfig: GlobalMountOptions['config'] )
src/utils.ts:26
↓ 1 callersFunctionmergeGlobalProperties
( mountGlobal: GlobalMountOptions = {} )
src/utils.ts:40
↓ 1 callersMethodmyMethod
()
tests/features/plugins.spec.ts:19
↓ 1 callersFunctionnormalizeStubProps
(props: ComponentPropsOptions)
src/vnodeTransformers/stubComponentsTransformer.ts:43
↓ 1 callersFunctionprocessSlot
(source = '', Vue = vue)
src/utils/compileSlots.ts:4
↓ 1 callersFunctionremoveEventHistory
(vm: ComponentPublicInstance)
src/emit.ts:89
↓ 1 callersMethodreset
For testing
src/config.ts:63
↓ 1 callersMethodsetSelected
()
src/domWrapper.ts:146
↓ 1 callersFunctionslotToFunction
(slot: Slot)
src/createInstance.ts:117
↓ 1 callersFunctionstringifyNode
(node: Node)
src/utils/stringifyNode.ts:1
↓ 1 callersFunctiontrackInstance
(wrapper: VueWrapper<ComponentPublicInstance>)
src/utils/autoUnmount.ts:28
↓ 1 callersFunctionuseCommonBindings
()
tests/emit.spec.ts:264
Method$props
()
test-dts/mount.d-test.ts:251
FunctionComponent
(props, ctx)
tests/emit.spec.ts:216
FunctionFoo
(props: { msg: string })
tests/functionalComponents.spec.ts:11
FunctionFoo
()
tests/text.spec.ts:75
FunctionFoo
()
tests/element.spec.ts:127
FunctionFooStub
()
tests/mountingOptions/global.stubs.spec.ts:219
FunctionFunc
()
tests/findComponent.spec.ts:411
FunctionFunc
()
tests/element.spec.ts:64
FunctionFuncComponent
()
test-dts/findComponent.d-test.ts:7
FunctionFuncComponentWithEmits
( props: object, ctx: { emit: (event: 'hi') => void } )
test-dts/findComponent.d-test.ts:11
FunctionFuncComponentWithProps
(props: { a: string })
test-dts/findComponent.d-test.ts:9
FunctionFunctionalChild
()
tests/functionalComponents.spec.ts:65
FunctionFunctionalFoo
(props: any)
tests/mountingOptions/global.stubs.spec.ts:69
FunctionGrandParent
( props, ctx )
tests/emit.spec.ts:94
FunctionINC
(state)
tests/features/vuex.spec.ts:23
FunctionPluginWithOptionalOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: OptionsI = { msg: 'hi' } )
test-dts/plugins.d-test.ts:21
FunctionPluginWithOptionalOptions2
( wrapper: VueWrapper<ComponentPublicInstance>, options?: OptionsI )
test-dts/plugins.d-test.ts:28
FunctionPluginWithOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: OptionsI )
test-dts/plugins.d-test.ts:10
FunctionPluginWithOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: Record<string, string> )
tests/features/plugins.spec.ts:33
FunctionPluginWithoutOptions
(wrapper: VueWrapper<ComponentPublicInstance>)
test-dts/plugins.d-test.ts:17
FunctionRoot
()
tests/element.spec.ts:160
FunctionSomeDirective
()
tests/mountingOptions/global.stubs.spec.ts:1090
FunctionTitle
({ title })
tests/components/FunctionComponent.tsx:6
Method__vccOpts
()
test-dts/mount.d-test.ts:230
Functionadd
()
tests/isVisible.spec.ts:104
Functionadd
()
tests/features/teleport.spec.ts:158
MethodaddAllPropertiesFromSetup
(setupResult: Record<string, any>)
src/config.ts:54
Functionattributes
(key?: string)
src/baseWrapper.ts:260
Methodb
()
tests/features/classComponent.spec.ts:82
FunctionbeforeCreate
()
src/createInstance.ts:229
FunctionbeforeMount
()
tests/lifecycle.spec.ts:20
FunctionbeforeMount
(el: Element)
tests/config.spec.ts:182
FunctionbeforeMount
(el: Element)
tests/mountingOptions/global.stubs.spec.ts:1061
FunctionbeforeMount
(el: Element)
tests/mountingOptions/global.directives.spec.ts:6
MethodbindProperty
([property, value]: [string, any])
src/config.ts:50
FunctionbuttonClick
()
tests/props.spec.ts:137
MethodchangeCount
(count: number)
test-dts/mount.d-test.ts:279
MethodchangeMessage
(text: string)
test-dts/renderToString.d-test.ts:103
MethodcheckTree
(subTree: VNode)
src/vueWrapper.ts:129
Functionclasses
(className?: string)
src/baseWrapper.ts:248
FunctionclearAndUpper
(text: string)
src/vnodeTransformers/stubComponentsTransformer.ts:58
Functioncmp
()
tests/findComponent.spec.ts:479
Functioncmp
()
tests/mountingOptions/global.stubs.spec.ts:1013
MethodcomputedMsg
()
test-dts/renderToString.d-test.ts:99
MethodcomputedMsg
()
test-dts/shallowMount.d-test.ts:103
MethodcomputedMsg
()
test-dts/mount.d-test.ts:212
Functionconstructor
(element: ElementType)
src/baseWrapper.ts:46
Methodconstructor
()
test-dts/mount.d-test.ts:243
Methodconstructor
( app: App | null, vm: T, setProps?: (props: Record<string, unknown>) => void )
src/vueWrapper.ts:95
Methodconstructor
(element: NodeType | null | undefined, subTree?: VNode | null)
src/domWrapper.ts:17
Methodconstructor
(readonly name: string)
tests/setData.spec.ts:203
Functioncreated
()
tests/config.spec.ts:268
Functioncreated
()
tests/mountingOptions/global.stubs.spec.ts:248
Functioncreated
()
tests/mountingOptions/global.mixins.spec.ts:10
Methodcreated
()
tests/features/classComponent.spec.ts:42
Functiondata
()
test-dts/mount.d-test.ts:177
Functiondata
()
tests/setValue.spec.ts:301
Functiondata
()
tests/props.spec.ts:373
Functiondata
()
tests/findComponent.spec.ts:117
Functiondata
()
tests/setData.spec.ts:27
Functiondata
()
tests/isVisible.spec.ts:47
Functiondata
()
tests/shallowMount.spec.ts:34
Functiondata
()
tests/setProps.spec.ts:63
Functiondata
()
tests/mountingOptions/data.spec.ts:10
Functiondata
()
tests/features/compat.spec.ts:176
Functiondefault
()
tests/features/with-tsx.spec.tsx:33
FunctiondefineProperty
(vm, key, attributes)
src/vueWrapper.ts:59
FunctiondeleteProperty
(vm, property)
src/vueWrapper.ts:73
Functionelement
()
src/baseWrapper.ts:42
Methodelement
()
src/vueWrapper.ts:217
MethodeventListener
(...args)
src/vueWrapper.ts:207
Functionexists
()
src/baseWrapper.ts:276
Methodexists
()
src/vueWrapper.ts:165
Functionfind
(selector: string | RefSelector)
src/baseWrapper.ts:73
← previousnext →101–200 of 316, ranked by callers