test: dodge msteams graph shares

This commit is contained in:
Shakker
2026-05-12 21:32:50 +01:00
parent b97d07683a
commit f0c016c212

View File

@@ -647,7 +647,7 @@ describe("msteams attachments", () => {
});
// Should have hit the original host, NOT graph shares.
expect(calledUrls).toContain(directUrl);
expect(calledUrls.some((url) => url.startsWith(GRAPH_SHARES_URL_PREFIX))).toBe(false);
expect(calledUrls.filter((url) => url.startsWith(GRAPH_SHARES_URL_PREFIX))).toEqual([]);
});
});