Files
MeshChatX/vitest.config.js
T
Sudo-Ivan a69e4e724d Update Vitest configuration for improved UI experience
- Added 'ui' and 'open' options to the Vitest configuration to enable the user interface and automatically open it upon running tests.
2026-02-17 17:49:23 -06:00

21 lines
519 B
JavaScript

import { defineConfig } from "vitest/config";
import vue from "@vitejs/plugin-vue";
import path from "path";
export default defineConfig({
plugins: [vue()],
test: {
globals: true,
environment: "jsdom",
include: ["tests/frontend/**/*.{test,spec}.{js,ts,jsx,tsx}"],
setupFiles: ["tests/frontend/setup.js"],
ui: true,
open: true,
},
resolve: {
alias: {
"@": path.resolve(__dirname, "meshchatx", "src", "frontend"),
},
},
});