mirror of
https://github.com/grp06/openclaw-studio.git
synced 2026-08-14 08:52:03 +00:00
- 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.
17 lines
372 B
TypeScript
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/**"],
|
|
},
|
|
});
|