diff --git a/scripts/jest/setup/throw_on_console_error.js b/scripts/jest/setup/throw_on_console_error.js
index b0c208cd5b8..534a7e36a8b 100644
--- a/scripts/jest/setup/throw_on_console_error.js
+++ b/scripts/jest/setup/throw_on_console_error.js
@@ -37,18 +37,5 @@ console.error = (message, ...rest) => {
return;
}
- // Print React validateDOMNesting warning as a console.warn instead
- // of throwing an error.
- // TODO: Remove when edge-case DOM nesting is fixed in all components
- if (
- typeof message === 'string' &&
- message.startsWith(
- 'Warning: validateDOMNesting(...): %s cannot appear as a child of <%s>'
- )
- ) {
- console.warn(message, ...rest);
- return;
- }
-
throw new Error(format(message, ...rest));
};
diff --git a/src/components/table/__snapshots__/table_footer.test.tsx.snap b/src/components/table/__snapshots__/table_footer.test.tsx.snap
index 2ef311c3160..0fc2a8a0b0f 100644
--- a/src/components/table/__snapshots__/table_footer.test.tsx.snap
+++ b/src/components/table/__snapshots__/table_footer.test.tsx.snap
@@ -1,15 +1,17 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EuiTableFooter is rendered 1`] = `
-
+
- children
+
+ children
+ |
-
+
`;
diff --git a/src/components/table/__snapshots__/table_footer_cell.test.tsx.snap b/src/components/table/__snapshots__/table_footer_cell.test.tsx.snap
index 8b98900d655..7381fc37986 100644
--- a/src/components/table/__snapshots__/table_footer_cell.test.tsx.snap
+++ b/src/components/table/__snapshots__/table_footer_cell.test.tsx.snap
@@ -1,129 +1,177 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EuiTableFooterCell align defaults to left 1`] = `
-
+
`;
exports[`EuiTableFooterCell align renders center when specified 1`] = `
-
+
`;
exports[`EuiTableFooterCell align renders right when specified 1`] = `
-
+
`;
exports[`EuiTableFooterCell is rendered 1`] = `
-
+
`;
exports[`EuiTableFooterCell width and style accepts style attribute 1`] = `
-
+
`;
exports[`EuiTableFooterCell width and style accepts width attribute 1`] = `
-
+
`;
exports[`EuiTableFooterCell width and style accepts width attribute as number 1`] = `
-
+
`;
exports[`EuiTableFooterCell width and style resolves style and width attribute 1`] = `
-
+
`;
diff --git a/src/components/table/__snapshots__/table_header.test.tsx.snap b/src/components/table/__snapshots__/table_header.test.tsx.snap
index 518627c1afe..a23dfae2dd2 100644
--- a/src/components/table/__snapshots__/table_header.test.tsx.snap
+++ b/src/components/table/__snapshots__/table_header.test.tsx.snap
@@ -1,25 +1,29 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EuiTableHeader is rendered 1`] = `
-
-
-
- children
- |
-
-
+
`;
exports[`EuiTableHeader is rendered without
1`] = `
-
-
-
- children
- |
-
-
+
`;
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 92ee353d553..e60c0af7ec8 100644
--- a/src/components/table/__snapshots__/table_header_cell.test.tsx.snap
+++ b/src/components/table/__snapshots__/table_header_cell.test.tsx.snap
@@ -1,270 +1,348 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`align defaults to left 1`] = `
-
+
`;
exports[`align renders center when specified 1`] = `
-
+
`;
exports[`align renders right when specified 1`] = `
-
+
`;
exports[`renders EuiTableHeaderCell 1`] = `
-
+
`;
exports[`renders td when children is null/undefined 1`] = `
-
+
`;
exports[`sorting does not render a button with readOnly 1`] = `
-
+
`;
exports[`sorting is rendered with isSortAscending 1`] = `
-
+
`;
exports[`sorting is rendered with isSorted 1`] = `
-
+
`;
exports[`sorting renders a button with onSort 1`] = `
-