Files
openclaw-studio/vitest.config.ts
George Pickett af7554f9cd Add configuration and testing infrastructure for Clawdbot Agent UI
- Introduced components.json for UI configuration with Tailwind and icon library settings.
- Updated ESLint configuration to include Prettier for consistent code formatting.
- Added Playwright and Vitest configurations for end-to-end and unit testing.
- Implemented environment variable validation using Zod and added logging utilities.
- Refactored API routes to improve error handling and logging.
- Enhanced global styles and markdown rendering capabilities.
- Established a new directory structure for better organization of features and components.
2026-01-27 12:41:25 -08:00

17 lines
372 B
TypeScript

import { defineConfig } from "vitest/config";
import { fileURLToPath } from "node:url";
export default defineConfig({
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
test: {
environment: "jsdom",
setupFiles: "./tests/setup.ts",
include: ["tests/unit/**/*.test.ts"],
exclude: ["tests/e2e/**"],
},
});