aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/pages/History/history.test.tsx
blob: 277a268fb59032321574bc12a9692e826802e29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { renderTest, RenderTestCase } from "@/tests/render";
import HistoryStats from "./Statistics/HistoryStats";
import MoviesHistoryView from "./Movies";
import SeriesHistoryView from "./Series";

const cases: RenderTestCase[] = [
  {
    name: "movie page",
    ui: MoviesHistoryView,
  },
  {
    name: "series page",
    ui: SeriesHistoryView,
  },
  {
    name: "statistics page",
    ui: HistoryStats,
  },
];

renderTest("History", cases);