Decouple shlink-web-component from the concept of servers

This commit is contained in:
Alejandro Celaya
2023-07-24 18:03:59 +02:00
parent 5f6dc186e3
commit 21525ef945
22 changed files with 55 additions and 82 deletions

View File

@@ -1,8 +1,8 @@
import { screen, waitFor } from '@testing-library/react';
import type { ReactNode } from 'react';
import { MemoryRouter } from 'react-router-dom';
import type { HighlightCardProps } from '../../../src/servers/helpers/HighlightCard';
import { HighlightCard } from '../../../src/servers/helpers/HighlightCard';
import type { HighlightCardProps } from '../../../src/shlink-web-component/overview/helpers/HighlightCard';
import { HighlightCard } from '../../../src/shlink-web-component/overview/helpers/HighlightCard';
import { renderWithEvents } from '../../__helpers__/setUpTest';
describe('<HighlightCard />', () => {