diff --git a/lib/src/Components/Templates/OverlayItemsIndexPage.spec.tsx b/lib/src/Components/Templates/OverlayItemsIndexPage.spec.tsx new file mode 100644 index 00000000..102cca71 --- /dev/null +++ b/lib/src/Components/Templates/OverlayItemsIndexPage.spec.tsx @@ -0,0 +1,171 @@ +/* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unsafe-argument */ + +import { render, screen, act, waitFor } from '@testing-library/react' +import { MemoryRouter } from 'react-router-dom' +import { describe, it, expect, beforeEach, vi } from 'vitest' + +import { OverlayItemsIndexPage } from './OverlayItemsIndexPage' + +import type { Item } from '#types/Item' + +vi.mock('./ItemCard', () => ({ + ItemCard: ({ i }: { i: Item }) =>