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

Function gc

packages/reactivity/__tests__/gc.spec.ts:12–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11describe.skipIf(!global.gc)('reactivity/gc', () => {
12 const gc = () => {
13 return new Promise<void>(resolve => {
14 setTimeout(() => {
15 global.gc!()
16 resolve()
17 })
18 })
19 }
20
21 // #9233
22 it('should release computed cache', async () => {

Callers 1

gc.spec.tsFile · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected