Add vitest and initial tests

This commit is contained in:
Manuel
2023-03-17 22:10:00 +01:00
parent 47cb9cd5b6
commit 4a856c6267
17 changed files with 1410 additions and 56 deletions

View File

@@ -22,12 +22,12 @@ import { CategoryEditModal } from '../components/Dashboard/Wrappers/Category/Cat
import { ConfigProvider } from '../config/provider';
import { usePackageAttributesStore } from '../tools/client/zustands/usePackageAttributesStore';
import { ColorTheme } from '../tools/color';
import { queryClient } from '../tools/queryClient';
import { queryClient } from '../tools/server/configurations/tanstack/queryClient.tool';
import {
getServiceSidePackageAttributes,
ServerSidePackageAttributesType,
} from '../tools/server/getPackageVersion';
import { theme } from '../tools/theme';
import { theme } from '../tools/server/theme/theme';
import { useEditModeInformationStore } from '../hooks/useEditModeInformation';
import '../styles/global.scss';

View File

@@ -9,8 +9,8 @@ import { NextApiRequest, NextApiResponse } from 'next';
import Parser from 'rss-parser';
import { getConfig } from '../../../../tools/config/getConfig';
import { Stopwatch } from '../../../../tools/shared/stopwatch';
import { IRssWidget } from '../../../../widgets/rss/RssWidgetTile';
import { Stopwatch } from '../../../../tools/shared/time/stopwatch.tool';
type CustomItem = {
'media:content': string;