Terugdraaien van ongerelateerde opmaakwijzigingen in src/components/shared
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,9 +36,7 @@ describe('ErrorBoundary', () => {
|
||||
);
|
||||
|
||||
expect(screen.getByTestId('error-boundary-fallback')).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText('Er ging iets mis. Probeer de pagina te vernieuwen.'),
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getByText('Er ging iets mis. Probeer de pagina te vernieuwen.')).toBeInTheDocument();
|
||||
|
||||
consoleErrorSpy.mockRestore();
|
||||
});
|
||||
@@ -55,9 +53,7 @@ describe('ErrorBoundary', () => {
|
||||
expect(Sentry.captureException).toHaveBeenCalledTimes(1);
|
||||
expect(Sentry.captureException).toHaveBeenCalledWith(
|
||||
expect.any(Error),
|
||||
expect.objectContaining({
|
||||
extra: expect.objectContaining({ componentStack: expect.any(String) }),
|
||||
}),
|
||||
expect.objectContaining({ extra: expect.objectContaining({ componentStack: expect.any(String) }) }),
|
||||
);
|
||||
|
||||
consoleErrorSpy.mockRestore();
|
||||
|
||||
Reference in New Issue
Block a user