rusackas commented on code in PR #45605:
URL: https://github.com/apache/superset/pull/45605#discussion_r4355066012
##########
superset-frontend/src/preamble.test.ts:
##########
@@ -72,7 +72,9 @@ jest.mock('./utils/getBootstrapData', () => ({
jest.mock('./utils/pathUtils', () => ({
makeUrl: mockMakeUrl,
}));
-jest.mock('./hooks/useLocale', () => ({}));
+jest.mock('./hooks/useLocale', () => ({
Review Comment:
Added both cases in 16fb77b: preloaded pack and successful fetch, each with
`zh_TW` asserting `mockDayjsLocale` gets `zh-tw`.
--
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]