mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-12 09:36:20 +00:00
Move more components to shlink-web-component when applicable
This commit is contained in:
@@ -2,8 +2,8 @@ import { render, screen } from '@testing-library/react';
|
||||
import { fromPartial } from '@total-typescript/shoehorn';
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import { Paginator } from '../../shlink-web-component/short-urls/Paginator';
|
||||
import { ELLIPSIS } from '../../shlink-web-component/utils/helpers/pagination';
|
||||
import type { ShlinkPaginator } from '../../src/api/types';
|
||||
import { ELLIPSIS } from '../../src/utils/helpers/pagination';
|
||||
|
||||
describe('<Paginator />', () => {
|
||||
const buildPaginator = (pagesCount?: number) => fromPartial<ShlinkPaginator>({ pagesCount, currentPage: 1 });
|
||||
|
||||
Reference in New Issue
Block a user