rusackas commented on code in PR #40746:
URL: https://github.com/apache/superset/pull/40746#discussion_r3472266360
##########
superset-frontend/src/features/tags/BulkTagModal.test.tsx:
##########
@@ -36,77 +36,80 @@ const mockedProps = {
resourceName: 'dashboard',
};
-afterEach(() => {
- fetchMock.clearHistory().removeRoutes();
- jest.clearAllMocks();
-});
-
-test('should render', () => {
- const { container } = render(<BulkTagModal {...mockedProps} />);
- expect(container).toBeInTheDocument();
-});
+// eslint-disable-next-line no-restricted-globals -- TODO: Migrate from
describe blocks
+describe('BulkTagModal', () => {
Review Comment:
Can we get rid of the describe blocks?
--
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]