Files
MajoorWaldi-ComfyUI-Majoor-…/vitest.config.mjs
T
2026-04-10 11:05:27 +02:00

29 lines
709 B
JavaScript

import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [vue()],
test: {
environment: "node",
setupFiles: ["js/tests/vitest.setup.mjs"],
transformMode: {
web: [/\.vue$/],
},
include: ["js/tests/**/*.vitest.mjs"],
reporters: ["default"],
coverage: {
provider: "v8",
include: ["js/**/*.js"],
exclude: ["js/tests/**", "js/app/i18n.generated.js", "node_modules/**"],
reporter: ["text", "text-summary", "lcov"],
reportsDirectory: "coverage/js",
thresholds: {
lines: 30,
branches: 20,
functions: 30,
statements: 30,
},
},
},
});