20 lines
417 B
TypeScript
20 lines
417 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
include: ["tests/unit/**/*.test.ts"],
|
|
exclude: ["tests/e2e/**"],
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/**/*.ts"],
|
|
exclude: [
|
|
"src/index.ts", // Extension entry point not testable without ComfyUI
|
|
],
|
|
thresholds: {
|
|
lines: 70,
|
|
},
|
|
},
|
|
},
|
|
});
|