Skip to content

Commit

Permalink
Change: withIconSize HOC to hook (#4060)
Browse files Browse the repository at this point in the history
* Change: withIconSize HOC to hook

* add tests

* improve test coverage

* remove snapshot test
  • Loading branch information
daniele-mng authored Jun 12, 2024
1 parent a5a0c42 commit 7e8e2fa
Show file tree
Hide file tree
Showing 131 changed files with 831 additions and 49,955 deletions.
96 changes: 0 additions & 96 deletions src/web/components/badge/__tests__/__snapshots__/badge.jsx.snap

This file was deleted.

3 changes: 1 addition & 2 deletions src/web/components/badge/__tests__/badge.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


import {describe, test, expect} from '@gsa/testing';

import {render} from 'web/utils/testing';
Expand All @@ -19,7 +18,7 @@ describe('Badge tests', () => {
</Badge>,
);

expect(element).toMatchSnapshot();
expect(element).toBeVisible();
});

test('should render content', () => {
Expand Down
127 changes: 0 additions & 127 deletions src/web/components/bar/__tests__/__snapshots__/progressbar.jsx.snap

This file was deleted.

131 changes: 0 additions & 131 deletions src/web/components/bar/__tests__/__snapshots__/severitybar.jsx.snap

This file was deleted.

Loading

0 comments on commit 7e8e2fa

Please sign in to comment.