test(telegram): deflake media groups on windows

This commit is contained in:
Peter Steinberger
2026-01-10 04:43:04 +01:00
parent cc8d3d331a
commit 241bc737cf

View File

@@ -315,7 +315,8 @@ describe("telegram media groups", () => {
getFile: async () => ({ file_path: "photos/photo2.jpg" }),
});
await Promise.all([first, second]);
await first;
await second;
expect(replySpy).not.toHaveBeenCalled();
await waitForMediaGroupProcessing(replySpy, 1);