Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/heygen-com/hyperframes
/ clock.test.ts
File
clock.test.ts
packages/core/src/runtime/clock.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect } from
"vitest"
;
2
import
{ TransportClock } from
"./clock"
;
3
4
function
createClock(opts?: ConstructorParameters<typeof TransportClock>[0]) {
Callers
nothing calls this directly
Calls
15
createClock
Function · 0.85
advance
Function · 0.85
createMockAudioEl
Function · 0.85
now
Method · 0.80
getRate
Method · 0.80
reachedEnd
Method · 0.80
setDuration
Method · 0.80
snapshot
Method · 0.80
attachAudioSource
Method · 0.80
getSource
Method · 0.80
detachAudioSource
Method · 0.80
hasAudioSource
Method · 0.80
Tested by
no test coverage detected