fix: finalize teams file-consent timeout landing (#27641) (thanks @scz2011)

This commit is contained in:
Peter Steinberger
2026-02-26 16:38:50 +01:00
parent 773ab319ef
commit 2e97d0dd95
2 changed files with 1 additions and 3 deletions

View File

@@ -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);