mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-29 10:49:14 +01:00
* feat: add support for all languages from old homarr * fix: add mantine-react-table translations, remove arabic language * refactor: change translations to json for better crowdin support * fix: issues with loading dayjs and mantine-react-table translations * chore: add additional translations with variables * fix: format and deepsource issues * fix: test failing because of missing coverage exclusions * fix: format issues * fix: format issue
28 lines
731 B
TypeScript
28 lines
731 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
import { configDefaults, defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
test: {
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
environment: "jsdom",
|
|
include: ["**/*.spec.ts"],
|
|
clearMocks: true,
|
|
poolOptions: {
|
|
threads: {
|
|
singleThread: false,
|
|
},
|
|
},
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["html", "json-summary", "json"],
|
|
all: true,
|
|
exclude: (configDefaults.coverage.exclude ?? []).concat("apps/nextjs/.next/"),
|
|
reportOnFailure: true,
|
|
},
|
|
|
|
exclude: [...configDefaults.exclude, "apps/nextjs/.next"],
|
|
},
|
|
});
|