This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename KuiGalleryButton to KuiGalleryItem (elastic#14118)
- Loading branch information
Showing
24 changed files
with
131 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
ui_framework/src/components/gallery/gallery_button/gallery_button.test.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
ui_framework/src/components/gallery/gallery_button/gallery_button_icon.test.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
ui_framework/src/components/gallery/gallery_button/gallery_button_image.test.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
ui_framework/src/components/gallery/gallery_button/gallery_button_label.test.js
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...__snapshots__/gallery_button.test.js.snap → ...m/__snapshots__/gallery_item.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...pshots__/gallery_button_icon.test.js.snap → ...napshots__/gallery_item_icon.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...shots__/gallery_button_label.test.js.snap → ...apshots__/gallery_item_image.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...shots__/gallery_button_image.test.js.snap → ...apshots__/gallery_item_label.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ui_framework/src/components/gallery/gallery_item/gallery_item.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render } from 'enzyme'; | ||
import { requiredProps } from '../../../test/required_props'; | ||
|
||
import { | ||
KuiGalleryItem, | ||
} from './gallery_item'; | ||
|
||
test('renders KuiGalleryItem href', () => { | ||
const component = <KuiGalleryItem href="#" {...requiredProps}>children</KuiGalleryItem>; | ||
expect(render(component)).toMatchSnapshot(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.