Antonio-RiveroMartnez commented on code in PR #21213:
URL: https://github.com/apache/superset/pull/21213#discussion_r956213730
##########
superset-frontend/src/views/CRUD/data/dataset/DatasetList.test.jsx:
##########
@@ -181,6 +182,14 @@ describe('DatasetList', () => {
wrapper.find('[data-test="bulk-select-copy"]').text(),
).toMatchInlineSnapshot(`"3 Selected (2 Physical, 1 Virtual)"`);
});
+
+ it('renders a SubMenu', () => {
+ expect(wrapper.find(SubMenu)).toExist();
+ });
+
+ it('renders a SubMenu with no tabs', () => {
+ expect(wrapper.find(SubMenu).props().tabs).toBeUndefined();
Review Comment:
undefined is correct since nothings should be passed to it, not even null.
--
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]