merge: update Tours branch to current dev

This commit is contained in:
elmocito
2026-10-04 13:39:04 +02:00
2 changed files with 9 additions and 1 deletions
@@ -221,6 +221,13 @@ describe('buildEmailHtml', () => {
expect(html).toContain('notifications enabled in TREK');
});
it('links notification preferences to the notifications settings tab', () => {
const html = buildEmailHtml('Subject', 'Body', 'en');
expect(html).toMatch(
/<a href="https?:\/\/[^"]+\/settings\?tab=notifications"[^>]*>Manage preferences in Settings<\/a>/,
);
});
it('uses German i18n strings for lang=de', () => {
const html = buildEmailHtml('Subject', 'Body', 'de');
expect(html).toContain('TREK aktiviert');