michael-s-molina commented on a change in pull request #17947:
URL: https://github.com/apache/superset/pull/17947#discussion_r780199715



##########
File path: 
superset-frontend/packages/superset-ui-core/test/chart/clients/ChartClient.test.ts
##########
@@ -24,17 +24,15 @@ import {
   buildQueryContext,
   QueryFormData,
   configure as configureTranslation,
-} from '@superset-ui/core/src';
-
-import {
   ChartClient,
   getChartBuildQueryRegistry,
   getChartMetadataRegistry,
   ChartMetadata,
-} from '@superset-ui/core/src/chart';
-import { SliceIdAndOrFormData } from 
'@superset-ui/core/src/chart/clients/ChartClient';
+} from '@superset-ui/core';
+
 import { LOGIN_GLOB } from '../fixtures/constants';
 import { sankeyFormData } from '../fixtures/formData';
+import { SliceIdAndOrFormData } from '../../../src/chart/clients/ChartClient';

Review comment:
       Since the packages are self-contained, is there a way to set something 
in each `package.json` or globally to make `packages/<package-name>` as the 
root for each package and avoid the `../.../...` imports?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to