diff --git a/src/components/table/__snapshots__/table_header.test.tsx.snap b/src/components/table/__snapshots__/table_header.test.tsx.snap index 23cb8bc2282..09b2da1459f 100644 --- a/src/components/table/__snapshots__/table_header.test.tsx.snap +++ b/src/components/table/__snapshots__/table_header.test.tsx.snap @@ -12,13 +12,3 @@ Array [ "children", ] `; - -exports[`EuiTableHeader renders td when children is null/undefined 1`] = ` - - - -`; diff --git a/src/components/table/__snapshots__/table_header_cell.test.tsx.snap b/src/components/table/__snapshots__/table_header_cell.test.tsx.snap index 2e35c59f129..abbec8cae31 100644 --- a/src/components/table/__snapshots__/table_header_cell.test.tsx.snap +++ b/src/components/table/__snapshots__/table_header_cell.test.tsx.snap @@ -68,6 +68,24 @@ exports[`renders EuiTableHeaderCell 1`] = ` `; +exports[`renders td when children is null/undefined 1`] = ` + +
+ +
+ +`; + exports[`width and style accepts style attribute 1`] = ` { expect(component).toMatchSnapshot(); }); - - test('renders td when children is null/undefined', () => { - const component = render(); - - expect(component).toMatchSnapshot(); - }); }); diff --git a/src/components/table/table_header_cell.test.tsx b/src/components/table/table_header_cell.test.tsx index e5431519c35..1414dc82b24 100644 --- a/src/components/table/table_header_cell.test.tsx +++ b/src/components/table/table_header_cell.test.tsx @@ -14,6 +14,12 @@ test('renders EuiTableHeaderCell', () => { expect(render(component)).toMatchSnapshot(); }); +test('renders td when children is null/undefined', () => { + const component = render(); + + expect(component).toMatchSnapshot(); +}); + describe('align', () => { test('defaults to left', () => { const component = ;