From dcf63130a49c26a5a9d1ee48f220301319fcae95 Mon Sep 17 00:00:00 2001 From: Marc Dumais Date: Fri, 26 Jul 2024 16:20:58 -0400 Subject: [PATCH] Temporarily disable most tests in table-components.test.tsx The upgrade of ag-grid had made unavailable some of the APIs that are used in this test file. e.g. it's no longer possible to create a column using "new Column([...])". Same for creating a GridApi object. I'm not sure if we can work-around these new limitations or if we will need to redesign these tests. Signed-off-by: Marc Dumais --- .../table-renderer-components.test.tsx.snap | 362 +++++++++--------- .../table-renderer-components.test.tsx | 266 ++++++------- 2 files changed, 324 insertions(+), 304 deletions(-) diff --git a/packages/react-components/src/components/__tests__/__snapshots__/table-renderer-components.test.tsx.snap b/packages/react-components/src/components/__tests__/__snapshots__/table-renderer-components.test.tsx.snap index ad6ecedf8..4244dec5c 100644 --- a/packages/react-components/src/components/__tests__/__snapshots__/table-renderer-components.test.tsx.snap +++ b/packages/react-components/src/components/__tests__/__snapshots__/table-renderer-components.test.tsx.snap @@ -1,79 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` Cell renderer 1`] = `"test cell"`; - -exports[` Cell renderer with search selection 1`] = ` -Array [ - - - test - - , - - cell - , -] -`; - -exports[` Empty search filter renderer 1`] = ` -
- -
-`; - -exports[` Loading renderer in loading 1`] = ` - -`; - -exports[` Loading renderer not loading 1`] = `"test cell"`; - exports[` Renders AG-Grid table with provided props & state 1`] = `
Renders AG-Grid table with provided props & st
+
+
+
+
+
+