Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ test
Function
test
packages/vue-compat/__tests__/global.spec.ts:291–293 ·
view source on GitHub ↗
(this: any)
Source
from the content-addressed store, hash-verified
289
290
test(
'functions keeps additional properties'
, () => {
291
function
test(this: any) {
292
return
this.msg
293
}
294
test.additionalFn = () => {
295
return
'additional fn'
296
}
Callers
15
global.spec.ts
File · 0.70
componentVModel.spec.ts
File · 0.70
instance.spec.ts
File · 0.70
misc.spec.ts
File · 0.70
globalConfig.spec.ts
File · 0.70
componentAsync.spec.ts
File · 0.70
options.spec.ts
File · 0.70
compiler.spec.ts
File · 0.70
renderFn.spec.ts
File · 0.70
componentFunctional.spec.ts
File · 0.70
effectScope.spec.ts
File · 0.50
watch.spec.ts
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected