import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";

export default defineConfig({
  plugins: [react(), tailwindcss()],
  test: {
    environment: "node",
    include: ["src/**/*.test.{ts,tsx}"],
    // GitHub 退役清理删掉了唯一的测试文件（parseRepoPath），暂无前端纯逻辑测试
    passWithNoTests: true,
  },
});
