fix(msteams): scope graph auth redirects

This commit is contained in:
bmendonca3
2026-02-23 21:46:46 -07:00
committed by Peter Steinberger
parent 259f6543b4
commit 8937c10f1f
2 changed files with 32 additions and 1 deletions

View File

@@ -164,7 +164,9 @@ const IMAGE_ATTACHMENT = { contentType: CONTENT_TYPE_IMAGE_PNG, contentUrl: TEST
const PNG_BUFFER = Buffer.from("png");
const PNG_BASE64 = PNG_BUFFER.toString("base64");
const PDF_BUFFER = Buffer.from("pdf");
const createTokenProvider = () => ({ getAccessToken: vi.fn(async () => "token") });
const createTokenProvider = (token = "token") => ({
getAccessToken: vi.fn(async () => token),
});
const asSingleItemArray = <T>(value: T) => [value];
const withLabel = <T extends object>(label: string, fields: T): T & LabeledCase => ({
label,