mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
88e2d072c4
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
392 B
TypeScript
17 lines
392 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "node:path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
// Unit tests only; Playwright owns e2e/.
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
},
|
|
resolve: {
|
|
alias: { "@": path.resolve(__dirname, "src") },
|
|
},
|
|
});
|