Files
copilotkit__copilotkit/examples/showcases/banking/vitest.config.ts
Maxim 88e2d072c4 test(showcase): add vitest unit runner to banking demo
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 19:33:39 +02:00

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") },
},
});