This is an automated email from the ASF dual-hosted git repository. sadpandajoe pushed a commit to branch test/explore-matrixify-fetch-top-n-values in repository https://gitbox.apache.org/repos/asf/superset.git
commit 5d10fb637e55ba8770f356ea26df4b7a1e506836 Author: Joe Li <[email protected]> AuthorDate: Wed Sep 30 16:51:53 2026 -0700 test(explore): don't assert exact log text in fetchTopNValues test Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --- .../controls/MatrixifyControl/utils/fetchTopNValues.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/MatrixifyControl/utils/fetchTopNValues.test.ts b/superset-frontend/src/explore/components/controls/MatrixifyControl/utils/fetchTopNValues.test.ts index 0ce085abbe0..56f6cf75f0c 100644 --- a/superset-frontend/src/explore/components/controls/MatrixifyControl/utils/fetchTopNValues.test.ts +++ b/superset-frontend/src/explore/components/controls/MatrixifyControl/utils/fetchTopNValues.test.ts @@ -145,10 +145,7 @@ test('logs and re-throws when the request rejects', async () => { try { await expect(fetchTopNValues(baseParams)).rejects.toBe(error); - expect(consoleError).toHaveBeenCalledWith( - 'Error fetching top N values:', - error, - ); + expect(consoleError).toHaveBeenCalledWith(expect.any(String), error); } finally { consoleError.mockRestore(); }
