Skip to content

Commit

Permalink
Fix test and update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano committed Feb 6, 2024
1 parent db8744c commit 89d170e
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 182 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/core/public/chrome/ui/header/home_icon.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Home icon,', () => {
const component = shallow(<HomeIcon {...props} />);
const icon = component.find('EuiIcon');
expect(icon.prop('data-test-subj')).toEqual('homeIcon');
expect(icon.prop('type')).toEqual('home');
expect(icon.prop('type')).toEqual(props.logos.Mark.url);
expect(icon.prop('size')).toEqual('m');
expect(icon.prop('title')).toEqual('Wazuh dashboards home');
});
Expand All @@ -37,7 +37,7 @@ describe('Home icon,', () => {
const component = shallow(<HomeIcon {...props} />);
const icon = component.find('EuiIcon');
expect(icon.prop('data-test-subj')).toEqual('homeIcon');
expect(icon.prop('type')).toEqual('home');
expect(icon.prop('type')).toEqual(props.logos.Mark.url);
expect(icon.prop('size')).toEqual('m');
expect(icon.prop('title')).toEqual('Wazuh dashboards home');

Expand All @@ -54,7 +54,7 @@ describe('Home icon,', () => {
const component = shallow(<HomeIcon {...props} />);
const icon = component.find('EuiIcon');
expect(icon.prop('data-test-subj')).toEqual('homeIcon');
expect(icon.prop('type')).toEqual('home');
expect(icon.prop('type')).toEqual(props.logos.Mark.url);
expect(icon.prop('size')).toEqual('m');
expect(icon.prop('title')).toEqual('Wazuh dashboards home');

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 89d170e

Please sign in to comment.