mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:48:26 +00:00
fix(test): update media-understanding tests for whisper skip empty audio
Increase test audio file sizes to meet MIN_AUDIO_FILE_BYTES (1024) threshold introduced by the skip-empty-audio feature. Fix localPathRoots in skip-tiny-audio tests so temp files pass path validation. Remove undefined loadApply() call in apply.test.ts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Peter Steinberger
parent
5f19112217
commit
f7b0378ccb
@@ -49,7 +49,7 @@ export async function withAudioFixture(
|
||||
filePrefix,
|
||||
extension: "wav",
|
||||
mediaType: "audio/wav",
|
||||
fileContents: Buffer.from("RIFF"),
|
||||
fileContents: Buffer.alloc(2048, 0x52),
|
||||
},
|
||||
run,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user