MCPcopy
hub / github.com/vuejs/core / getNum

Function getNum

packages/reactivity/__tests__/effect.spec.ts:169–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 effect(() => (dummy = getNum()))
168
169 function getNum() {
170 return counter.num
171 }
172
173 expect(dummy).toBe(0)
174 counter.num = 2

Callers 1

effect.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected