mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 16:06:16 +00:00
fix: finalize teams file-consent timeout landing (#27641) (thanks @scz2011)
This commit is contained in:
@@ -227,9 +227,6 @@ describe("msteams file consent invoke authz", () => {
|
||||
}),
|
||||
);
|
||||
|
||||
// Wait a bit for async handler to complete
|
||||
await new Promise((resolve) => setTimeout(resolve, 100));
|
||||
|
||||
expect(fileConsentMockState.uploadToConsentUrl).not.toHaveBeenCalled();
|
||||
expect(getPendingUpload(uploadId)).toBeDefined();
|
||||
expect(sendActivity).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user