Redesign Modern/Tijdreis, contactformulier via CMS, taalbestanden #17

Merged
Sluijsens merged 48 commits from feature/redesign-modern-timetravel into master 2026-11-16 11:51:47 +01:00
Showing only changes of commit f5039916bb - Show all commits
@@ -36,9 +36,7 @@ describe('ErrorBoundary', () => {
); );
expect(screen.getByTestId('error-boundary-fallback')).toBeInTheDocument(); expect(screen.getByTestId('error-boundary-fallback')).toBeInTheDocument();
expect( expect(screen.getByText('Er ging iets mis. Probeer de pagina te vernieuwen.')).toBeInTheDocument();
screen.getByText('Er ging iets mis. Probeer de pagina te vernieuwen.'),
).toBeInTheDocument();
consoleErrorSpy.mockRestore(); consoleErrorSpy.mockRestore();
}); });
@@ -55,9 +53,7 @@ describe('ErrorBoundary', () => {
expect(Sentry.captureException).toHaveBeenCalledTimes(1); expect(Sentry.captureException).toHaveBeenCalledTimes(1);
expect(Sentry.captureException).toHaveBeenCalledWith( expect(Sentry.captureException).toHaveBeenCalledWith(
expect.any(Error), expect.any(Error),
expect.objectContaining({ expect.objectContaining({ extra: expect.objectContaining({ componentStack: expect.any(String) }) }),
extra: expect.objectContaining({ componentStack: expect.any(String) }),
}),
); );
consoleErrorSpy.mockRestore(); consoleErrorSpy.mockRestore();