[#562] added DAV_BASE_URL to env (#570)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2026-02-23 11:29:02 +01:00
committed by GitHub
parent 5e9e52c8dd
commit 5989b3661e
4 changed files with 31 additions and 25 deletions
@@ -307,7 +307,7 @@ describe("CalendarPopover - Tabs Scenarios", () => {
});
it("copies CalDAV link from Access tab", async () => {
window.CALENDAR_BASE_URL = "https://cal.example.org";
window.DAV_BASE_URL = "https://cal.example.org";
Object.assign(navigator, {
clipboard: { writeText: jest.fn() },
});
@@ -441,7 +441,7 @@ describe("CalendarPopover - Tabs Scenarios", () => {
});
it("fetches and resets the secret link", async () => {
window.CALENDAR_BASE_URL = "https://cal.example.org";
window.DAV_BASE_URL = "https://cal.example.org";
(getSecretLink as jest.Mock)
.mockResolvedValueOnce({