mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
refactor: Fix anchor-is-valid lint warnings (#12010)
* Fix anchor-is-valid lint warnings * Change IconTooltip to use named exports
This commit is contained in:
committed by
GitHub
parent
e2f676445b
commit
8682c6fc1c
@@ -86,7 +86,7 @@ describe('ChangeDatasourceModal', () => {
|
||||
|
||||
it('renders confirmation message', async () => {
|
||||
act(() => {
|
||||
wrapper.find('.datasource-link').at(0).props().onClick();
|
||||
wrapper.find('[data-test="datasource-link"]').at(0).props().onClick();
|
||||
});
|
||||
await waitForComponentToPaint(wrapper);
|
||||
|
||||
@@ -95,7 +95,7 @@ describe('ChangeDatasourceModal', () => {
|
||||
|
||||
it('changes the datasource', async () => {
|
||||
act(() => {
|
||||
wrapper.find('.datasource-link').at(0).props().onClick();
|
||||
wrapper.find('[data-test="datasource-link"]').at(0).props().onClick();
|
||||
});
|
||||
await waitForComponentToPaint(wrapper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user