mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
7f3fab47b2
Replace the static status.json feed with a live PocketBase subscription (useLiveStatus / useLastTransition hooks + live-status lib + pb client), add vitest + playwright visual test setup, wire feature-grid + cell pieces + badges to the live data model. Adds Dockerfile + .dockerignore for Railway deployment of the dashboard.
20 lines
453 B
TypeScript
20 lines
453 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,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
exclude: ["tests/visual/**", "node_modules/**"],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|