refactor(Icons): Replaces custom icons with Ant Design 5 icons (#32112)

Replace custom icons with Ant Design 5 icons to standardize the icon
This commit is contained in:
Enzo Martellucci
2025-03-18 22:22:41 +01:00
committed by GitHub
parent 9e3052968b
commit ce6d5f5551
341 changed files with 2222 additions and 3999 deletions

View File

@@ -43,7 +43,7 @@ test('should render', () => {
test('should render warning icon', () => {
render(<BasicErrorAlert {...mockedProps} />);
expect(
screen.getByRole('img', { name: 'warning-solid' }),
screen.getByRole('img', { name: 'exclamation-circle' }),
).toBeInTheDocument();
});
@@ -53,7 +53,9 @@ test('should render error icon', () => {
level: 'error' as ErrorLevel,
};
render(<BasicErrorAlert {...errorProps} />);
expect(screen.getByRole('img', { name: 'error-solid' })).toBeInTheDocument();
expect(
screen.getByRole('img', { name: 'exclamation-circle' }),
).toBeInTheDocument();
});
test('should render the error title', () => {