test: give the calendar import test's client the server address it now asks for

This commit is contained in:
Linus Rath
2026-11-03 11:50:26 +01:00
parent 8512e68d12
commit cfd5e9988e
@@ -79,6 +79,7 @@ describe('import preview', () => {
const parsing = {
getAccountId: () => 'acct',
getCalendarsAccountId: () => 'acct',
getServerUrl: () => 'https://mail.example.com',
uploadBlob: vi.fn().mockResolvedValue({ blobId: 'b1' }),
parseCalendarEvents: vi.fn().mockResolvedValue([weekly]),
} as unknown as IJMAPClient;