rusackas commented on code in PR #30016:
URL: https://github.com/apache/superset/pull/30016#discussion_r1733538105
##########
superset-frontend/src/pages/DatabaseList/DatabaseList.test.jsx:
##########
@@ -164,14 +164,7 @@ describe('Admin DatabaseList', () => {
});
await waitForComponentToPaint(wrapper);
- expect(wrapper.find(DeleteModal).props().description)
- .toMatchInlineSnapshot(`
- <React.Fragment>
- <p>
- The database db 0 is linked to 0 charts that appear on 0 dashboards
and users have 0 SQL Lab tabs using this database open. Are you sure you want
to continue? Deleting the database will break those objects.
- </p>
- </React.Fragment>
- `);
+ expect(wrapper.find(DeleteModal).props().description).toMatchSnapshot();
Review Comment:
Note that I also loosened constraints (prettier, license check) on those
snapshot files, so they can be committed as-generated.
--
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]