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:
Michael S. Molina
2020-12-22 04:58:05 -03:00
committed by GitHub
parent e2f676445b
commit 8682c6fc1c
15 changed files with 115 additions and 80 deletions

View File

@@ -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);