Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ audio.spec.js
File
audio.spec.js
packages/melonjs/tests/audio.spec.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"vitest"
;
2
import
{ audio } from
"../src/index.js"
;
3
4
// Build a valid silent WAV in-memory and serve it as a data URL.
Callers
nothing calls this directly
Calls
6
loadClip
Function · 0.85
resume
Method · 0.80
init
Method · 0.65
stop
Method · 0.45
play
Method · 0.45
pause
Method · 0.45
Tested by
no test coverage detected