zhaoyongjie commented on code in PR #20338:
URL: https://github.com/apache/superset/pull/20338#discussion_r902718447


##########
superset-frontend/packages/superset-ui-core/test/query/extractExtras.test.ts:
##########
@@ -17,12 +17,13 @@
  * under the License.
  */
 import extractExtras from '../../src/query/extractExtras';
+import { TimeGranularity } from '../../src/time-format';

Review Comment:
   a no-blocking nits, we can easily import like:
   ```
   import { TimeGranularity } from '@superset-ui/core';
   ```
   there is a [jest config mapping modules 
](https://github.com/apache/superset/blob/f3b289d3c333fe2351e9fbac6fa85b875cb1897c/superset-frontend/jest.config.js#L30)in
 jest run time



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to