Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vuejs/test-utils
/ functions
Functions
316 in github.com/vuejs/test-utils
⨍
Functions
316
◇
Types & classes
58
↓ 1 callers
Function
getInstanceOptions
( options: MountingOptions<any> & Record<string, any> )
src/createInstance.ts:52
↓ 1 callers
Function
getRootNodes
(vnode: VNode)
src/utils/getRootNodes.ts:5
↓ 1 callers
Function
handler
()
tests/setData.spec.ts:38
↓ 1 callers
Function
hasSetupState
( vm: ComponentPublicInstance )
src/utils.ts:219
↓ 1 callers
Method
hello
()
tests/features/classComponent.spec.ts:57
↓ 1 callers
Function
isAttributeVisible
(element: T)
src/utils/isElementVisible.ts:22
↓ 1 callers
Function
isClass
(obj: unknown)
src/utils.ts:75
↓ 1 callers
Function
isClassComponent
(component: unknown)
src/utils.ts:127
↓ 1 callers
Function
isCompatEnabled
(key: string)
src/utils/vueCompatSupport.ts:5
↓ 1 callers
Function
isElementVisible
(element: T)
src/utils/isElementVisible.ts:29
↓ 1 callers
Function
isRefSelector
( selector: string | RefSelector )
src/utils.ts:174
↓ 1 callers
Function
isScriptSetup
( vm: ComponentPublicInstance )
src/utils.ts:230
↓ 1 callers
Function
isStyleVisible
(element: T)
src/utils/isElementVisible.ts:7
↓ 1 callers
Function
kebabToPascalCase
(tag: string)
src/vnodeTransformers/stubComponentsTransformer.ts:59
↓ 1 callers
Function
mergeAppConfig
( configGlobalConfig: GlobalMountOptions['config'], mountGlobalConfig: GlobalMountOptions['config'] )
src/utils.ts:26
↓ 1 callers
Function
mergeGlobalProperties
( mountGlobal: GlobalMountOptions = {} )
src/utils.ts:40
↓ 1 callers
Method
myMethod
()
tests/features/plugins.spec.ts:19
↓ 1 callers
Function
normalizeStubProps
(props: ComponentPropsOptions)
src/vnodeTransformers/stubComponentsTransformer.ts:43
↓ 1 callers
Function
processSlot
(source = '', Vue = vue)
src/utils/compileSlots.ts:4
↓ 1 callers
Function
removeEventHistory
(vm: ComponentPublicInstance)
src/emit.ts:89
↓ 1 callers
Method
reset
For testing
src/config.ts:63
↓ 1 callers
Method
setSelected
()
src/domWrapper.ts:146
↓ 1 callers
Function
slotToFunction
(slot: Slot)
src/createInstance.ts:117
↓ 1 callers
Function
stringifyNode
(node: Node)
src/utils/stringifyNode.ts:1
↓ 1 callers
Function
trackInstance
(wrapper: VueWrapper<ComponentPublicInstance>)
src/utils/autoUnmount.ts:28
↓ 1 callers
Function
useCommonBindings
()
tests/emit.spec.ts:264
Method
$props
()
test-dts/mount.d-test.ts:251
Function
Component
(props, ctx)
tests/emit.spec.ts:216
Function
Foo
(props: { msg: string })
tests/functionalComponents.spec.ts:11
Function
Foo
()
tests/text.spec.ts:75
Function
Foo
()
tests/element.spec.ts:127
Function
FooStub
()
tests/mountingOptions/global.stubs.spec.ts:219
Function
Func
()
tests/findComponent.spec.ts:411
Function
Func
()
tests/element.spec.ts:64
Function
FuncComponent
()
test-dts/findComponent.d-test.ts:7
Function
FuncComponentWithEmits
( props: object, ctx: { emit: (event: 'hi') => void } )
test-dts/findComponent.d-test.ts:11
Function
FuncComponentWithProps
(props: { a: string })
test-dts/findComponent.d-test.ts:9
Function
FunctionalChild
()
tests/functionalComponents.spec.ts:65
Function
FunctionalFoo
(props: any)
tests/mountingOptions/global.stubs.spec.ts:69
Function
GrandParent
( props, ctx )
tests/emit.spec.ts:94
Function
INC
(state)
tests/features/vuex.spec.ts:23
Function
PluginWithOptionalOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: OptionsI = { msg: 'hi' } )
test-dts/plugins.d-test.ts:21
Function
PluginWithOptionalOptions2
( wrapper: VueWrapper<ComponentPublicInstance>, options?: OptionsI )
test-dts/plugins.d-test.ts:28
Function
PluginWithOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: OptionsI )
test-dts/plugins.d-test.ts:10
Function
PluginWithOptions
( wrapper: VueWrapper<ComponentPublicInstance>, options: Record<string, string> )
tests/features/plugins.spec.ts:33
Function
PluginWithoutOptions
(wrapper: VueWrapper<ComponentPublicInstance>)
test-dts/plugins.d-test.ts:17
Function
Root
()
tests/element.spec.ts:160
Function
SomeDirective
()
tests/mountingOptions/global.stubs.spec.ts:1090
Function
Title
({ title })
tests/components/FunctionComponent.tsx:6
Method
__vccOpts
()
test-dts/mount.d-test.ts:230
Function
add
()
tests/isVisible.spec.ts:104
Function
add
()
tests/features/teleport.spec.ts:158
Method
addAllPropertiesFromSetup
(setupResult: Record<string, any>)
src/config.ts:54
Function
attributes
(key?: string)
src/baseWrapper.ts:260
Method
b
()
tests/features/classComponent.spec.ts:82
Function
beforeCreate
()
src/createInstance.ts:229
Function
beforeMount
()
tests/lifecycle.spec.ts:20
Function
beforeMount
(el: Element)
tests/config.spec.ts:182
Function
beforeMount
(el: Element)
tests/mountingOptions/global.stubs.spec.ts:1061
Function
beforeMount
(el: Element)
tests/mountingOptions/global.directives.spec.ts:6
Method
bindProperty
([property, value]: [string, any])
src/config.ts:50
Function
buttonClick
()
tests/props.spec.ts:137
Method
changeCount
(count: number)
test-dts/mount.d-test.ts:279
Method
changeMessage
(text: string)
test-dts/renderToString.d-test.ts:103
Method
checkTree
(subTree: VNode)
src/vueWrapper.ts:129
Function
classes
(className?: string)
src/baseWrapper.ts:248
Function
clearAndUpper
(text: string)
src/vnodeTransformers/stubComponentsTransformer.ts:58
Function
cmp
()
tests/findComponent.spec.ts:479
Function
cmp
()
tests/mountingOptions/global.stubs.spec.ts:1013
Method
computedMsg
()
test-dts/renderToString.d-test.ts:99
Method
computedMsg
()
test-dts/shallowMount.d-test.ts:103
Method
computedMsg
()
test-dts/mount.d-test.ts:212
Function
constructor
(element: ElementType)
src/baseWrapper.ts:46
Method
constructor
()
test-dts/mount.d-test.ts:243
Method
constructor
( app: App | null, vm: T, setProps?: (props: Record<string, unknown>) => void )
src/vueWrapper.ts:95
Method
constructor
(element: NodeType | null | undefined, subTree?: VNode | null)
src/domWrapper.ts:17
Method
constructor
(readonly name: string)
tests/setData.spec.ts:203
Function
created
()
tests/config.spec.ts:268
Function
created
()
tests/mountingOptions/global.stubs.spec.ts:248
Function
created
()
tests/mountingOptions/global.mixins.spec.ts:10
Method
created
()
tests/features/classComponent.spec.ts:42
Function
data
()
test-dts/mount.d-test.ts:177
Function
data
()
tests/setValue.spec.ts:301
Function
data
()
tests/props.spec.ts:373
Function
data
()
tests/findComponent.spec.ts:117
Function
data
()
tests/setData.spec.ts:27
Function
data
()
tests/isVisible.spec.ts:47
Function
data
()
tests/shallowMount.spec.ts:34
Function
data
()
tests/setProps.spec.ts:63
Function
data
()
tests/mountingOptions/data.spec.ts:10
Function
data
()
tests/features/compat.spec.ts:176
Function
default
()
tests/features/with-tsx.spec.tsx:33
Function
defineProperty
(vm, key, attributes)
src/vueWrapper.ts:59
Function
deleteProperty
(vm, property)
src/vueWrapper.ts:73
Function
element
()
src/baseWrapper.ts:42
Method
element
()
src/vueWrapper.ts:217
Method
eventListener
(...args)
src/vueWrapper.ts:207
Function
exists
()
src/baseWrapper.ts:276
Method
exists
()
src/vueWrapper.ts:165
Function
find
(selector: string | RefSelector)
src/baseWrapper.ts:73
← previous
next →
101–200 of 316, ranked by callers