diff --git a/src/components/tabs/tabbed_content/__snapshots__/tabbed_content.test.js.snap b/src/components/tabs/tabbed_content/__snapshots__/tabbed_content.test.js.snap index f6a460fe5198..20af5f7765ba 100644 --- a/src/components/tabs/tabbed_content/__snapshots__/tabbed_content.test.js.snap +++ b/src/components/tabs/tabbed_content/__snapshots__/tabbed_content.test.js.snap @@ -46,7 +46,7 @@ exports[`EuiTabbedContent behavior when selected tab state isn't controlled by t `; -exports[`EuiTabbedContent is rendered 1`] = ` +exports[`EuiTabbedContent is rendered with required props and tabs 1`] = `
`; -exports[`EuiTabbedContent props initialSelectedTab is rendered 1`] = ` +exports[`EuiTabbedContent props initialSelectedTab renders a selected tab 1`] = `
`; -exports[`EuiTabbedContent props selectedTab is rendered 1`] = ` +exports[`EuiTabbedContent props selectedTab renders a selected tab 1`] = `
- { - tabs.map((tab) => { + {tabs.map((tab) => { const { id, name, @@ -93,8 +92,7 @@ export class EuiTabbedContent extends Component { }; return {name}; - }) - } + })}
{ - test('is rendered', () => { + test('is rendered with required props and tabs', () => { const component = render(); expect(component).toMatchSnapshot(); }); @@ -46,14 +46,14 @@ describe('EuiTabbedContent', () => { }); describe('selectedTab', () => { - test('is rendered', () => { + test('renders a selected tab', () => { const component = render(); expect(component).toMatchSnapshot(); }); }); describe('initialSelectedTab', () => { - test('is rendered', () => { + test('renders a selected tab', () => { const component = render(); expect(component).toMatchSnapshot(); });