You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ju...@apache.org on 2026/02/09 17:12:25 UTC

(superset) branch 5.0-extensions updated: lint fix

This is an automated email from the ASF dual-hosted git repository.

justinpark pushed a commit to branch 5.0-extensions
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/5.0-extensions by this push:
     new 5159c27bdcf lint fix
5159c27bdcf is described below

commit 5159c27bdcf7ecac4b4045053ebe729fb55ecf9f
Author: justinpark <ju...@gmail.com>
AuthorDate: Mon Feb 9 09:12:08 2026 -0800

    lint fix
---
 .../plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts b/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
index b7439406589..365426094f6 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
+++ b/superset-frontend/plugins/legacy-plugin-chart-world-map/test/WorldMap.test.ts
@@ -39,8 +39,8 @@ const mockSvg = {
   style: jest.fn().mockReturnThis(),
 };
 
-jest.mock('datamaps/dist/datamaps.all.min', () => {
-  return jest.fn().mockImplementation(config => {
+jest.mock('datamaps/dist/datamaps.all.min', () =>
+  jest.fn().mockImplementation(config => {
     // Call the done callback immediately to simulate Datamap initialization
     if (config.done) {
       config.done({
@@ -52,8 +52,8 @@ jest.mock('datamaps/dist/datamaps.all.min', () => {
       updateChoropleth: mockUpdateChoropleth,
       svg: mockSvg,
     };
-  });
-});
+  }),
+);
 
 let container: HTMLElement;
 const mockFormatter = jest.fn(val => String(val));