You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/29 23:29:13 UTC
[GitHub] [superset] rusackas commented on a change in pull request #12832: refactor: Bootstrap to AntD - Button
rusackas commented on a change in pull request #12832:
URL: https://github.com/apache/superset/pull/12832#discussion_r567148706
##########
File path: superset-frontend/spec/javascripts/addSlice/AddSliceContainer_spec.tsx
##########
@@ -17,14 +17,16 @@
* under the License.
*/
import React from 'react';
-import { shallow, ShallowWrapper } from 'enzyme';
+import { mount, ReactWrapper } from 'enzyme';
Review comment:
You can `import { styledMount as mount } from 'spec/helpers/theming';` as a shortcut, so that you don't have to import the ProviderWrapper or supersetTheme in this file.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org