MCPcopy
hub / github.com/vitest-dev/vitest / callback

Function callback

test/core/test/fixtures/timers.suite.ts:912–912  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

910 const start = global.Date.now()
911
912 const callback = () => runOrder.push('frame')
913 global.requestAnimationFrame(callback)
914
915 // Advancing timers less than a frame (which is 16ms)

Callers 15

createMockInstanceFunction · 0.50
#callActiveSpanMethod · 0.50
$Method · 0.50
checkCallbackFunction · 0.50
queueCancelableMicrotaskFunction · 0.50
writeFunction · 0.50
writeFunction · 0.50
forEachSuiteFunction · 0.50
interceptStreamMethod · 0.50
writeFunction · 0.50
editFileFunction · 0.50
useFSFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected