test(telegram): deflake media groups on windows
This commit is contained in:
parent
cc8d3d331a
commit
241bc737cf
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue