mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-05 08:16:22 +00:00
test: give the calendar import test's client the server address it now asks for
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user