chore: improve tsconfigs

This commit is contained in:
Yordis Prieto
2024-05-16 03:02:22 -04:00
parent b1473fe296
commit 0bf41b3716
34 changed files with 2665 additions and 3359 deletions

View File

@@ -0,0 +1,12 @@
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
plugins: [tsconfigPaths(), react()],
test: {
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
environment: "jsdom",
setupFiles: ["@testing-library/jest-dom/vitest"],
},
});