test: dedupe outbound media mock read

This commit is contained in:
Peter Steinberger
2026-05-13 06:41:47 +01:00
parent 2b5d9bb47c
commit 07ffc2b955

View File

@@ -123,7 +123,7 @@ function requireLoadWebMediaOptions(): Record<string, unknown> {
}
function requireLoadWebMediaCall(): readonly unknown[] {
const call = vi.mocked(loadWebMedia).mock.calls.at(0);
const call = vi.mocked(loadWebMedia).mock.calls[0];
if (!call) {
throw new Error("Expected loadWebMedia to be called");
}