test(coverage): drive browser tests to 80% on all metrics (#496) #505

Merged
marcel merged 189 commits from feat/issue-496-browser-coverage-tests into main 2026-05-11 21:50:39 +02:00
Showing only changes of commit de59497606 - Show all commits

View File

@@ -135,8 +135,9 @@ describe('persons/[id] page', () => {
}
]
});
// Just verify the page renders without error — the self-skip branch is exercised
expect(() => render(PersonDetailPage, { props: { data } })).not.toThrow();
// Self-skip branch: the self-letter is rendered without re-rendering the sender chip.
render(PersonDetailPage, { props: { data } });
expect(document.body.textContent).toContain('Self-letter');
});
it('renders the GeschichtenCard when geschichten array has items', async () => {