test(core): reduce mock reset overhead across unit and e2e specs

This commit is contained in:
Peter Steinberger
2026-02-22 08:22:52 +00:00
parent d06ad6bc55
commit 8a0a28763e
13 changed files with 13 additions and 13 deletions

View File

@@ -141,7 +141,7 @@ describe("applyMediaUnderstanding", () => {
beforeEach(() => {
mockedResolveApiKey.mockClear();
mockedFetchRemoteMedia.mockReset();
mockedFetchRemoteMedia.mockClear();
mockedFetchRemoteMedia.mockResolvedValue({
buffer: Buffer.from([0, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
contentType: "audio/ogg",