Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CapSoftware/Cap
/ audio-extract.test.ts
File
audio-extract.test.ts
apps/web/__tests__/unit/audio-extract.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ EventEmitter } from
"node:events"
;
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
3
4
vi.mock(
"ffmpeg-static"
, () => ({
Callers
nothing calls this directly
Calls
5
extractAudioFromUrl
Function · 0.85
extractAudioToBuffer
Function · 0.85
emit
Method · 0.80
cleanup
Method · 0.80
checkHasAudioTrack
Function · 0.50
Tested by
no test coverage detected