mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-12 00:44:42 +00:00
a69e4e724d
- Added 'ui' and 'open' options to the Vitest configuration to enable the user interface and automatically open it upon running tests.
21 lines
519 B
JavaScript
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"),
|
|
},
|
|
},
|
|
});
|