Create src folder for shlink-web-component

This commit is contained in:
Alejandro Celaya
2023-08-02 08:23:48 +02:00
parent b7d57a53f2
commit c48facc863
294 changed files with 347 additions and 347 deletions

View File

@@ -1,9 +1,9 @@
import { screen, waitFor } from '@testing-library/react';
import { fromPartial } from '@total-typescript/shoehorn';
import { MemoryRouter } from 'react-router-dom';
import type { MercureInfo } from '../../shlink-web-component/mercure/reducers/mercureInfo';
import { Overview as overviewCreator } from '../../shlink-web-component/overview/Overview';
import { prettify } from '../../shlink-web-component/utils/helpers/numbers';
import type { MercureInfo } from '../../shlink-web-component/src/mercure/reducers/mercureInfo';
import { Overview as overviewCreator } from '../../shlink-web-component/src/overview/Overview';
import { prettify } from '../../shlink-web-component/src/utils/helpers/numbers';
import { renderWithEvents } from '../__helpers__/setUpTest';
describe('<Overview />', () => {

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 '../../../shlink-web-component/overview/helpers/HighlightCard';
import { HighlightCard } from '../../../shlink-web-component/overview/helpers/HighlightCard';
import type { HighlightCardProps } from '../../../shlink-web-component/src/overview/helpers/HighlightCard';
import { HighlightCard } from '../../../shlink-web-component/src/overview/helpers/HighlightCard';
import { renderWithEvents } from '../../__helpers__/setUpTest';
describe('<HighlightCard />', () => {

View File

@@ -1,6 +1,6 @@
import { screen, waitFor } from '@testing-library/react';
import type { VisitsHighlightCardProps } from '../../../shlink-web-component/overview/helpers/VisitsHighlightCard';
import { VisitsHighlightCard } from '../../../shlink-web-component/overview/helpers/VisitsHighlightCard';
import type { VisitsHighlightCardProps } from '../../../shlink-web-component/src/overview/helpers/VisitsHighlightCard';
import { VisitsHighlightCard } from '../../../shlink-web-component/src/overview/helpers/VisitsHighlightCard';
import { renderWithEvents } from '../../__helpers__/setUpTest';
describe('<VisitsHighlightCard />', () => {