MCPcopy
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.tsFile · 0.70
instance.spec.tsFile · 0.70
misc.spec.tsFile · 0.70
options.spec.tsFile · 0.70
compiler.spec.tsFile · 0.70
renderFn.spec.tsFile · 0.70
watch.spec.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected