bd sync: 2026-01-12 16:57:37
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-12 16:57:37 +01:00
parent fb23a0a2f3
commit 9b1c5bf978
55 changed files with 190 additions and 2973 deletions

View File

@@ -38,6 +38,7 @@ vi.mock('../../context/NotificationCenterContext', () => ({
queueItems: [],
queueCount: 0,
pendingCount: 0,
totalCount: 0,
loading: false,
pendingLoading: false,
refresh: vi.fn(),
@@ -96,10 +97,10 @@ describe('Header notifications toggle', () => {
const bellButton = screen.getByLabelText('Benachrichtigungen anzeigen');
fireEvent.click(bellButton);
expect(screen.getByText('Updates')).toBeInTheDocument();
expect(screen.getByText('Benachrichtigungen')).toBeInTheDocument();
fireEvent.click(bellButton);
expect(screen.queryByText('Updates')).not.toBeInTheDocument();
expect(screen.queryByText('Benachrichtigungen')).not.toBeInTheDocument();
});
});