Files
hugo-extended/vitest.config.ts
jake ec1f9d7272 chore: update CI workflows and configuration files
- Removed optional dependency installation commands from README.md for clarity.
- Updated renovate.json to extend additional configurations for GitHub Action digests.
- Simplified vitest.config.ts by consolidating comments and maintaining coverage settings.
- Adjusted Node.js version specifications in GitHub Actions workflows to use integers instead of strings and added `persist-credentials: false` for security.
2026-06-21 16:16:23 -04:00

19 lines
515 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
include: ["tests/**/*.test.ts"],
silent: "passed-only", // Don't show noisy Hugo output unless the test fails
coverage: {
provider: "v8",
reporter: ["text", "json", "html"],
include: ["src/**/*.ts"],
exclude: ["src/generated/**", "src/**/*.d.ts", "**/*.test.ts", "scripts/**"],
},
testTimeout: 30000,
pool: "threads",
fileParallelism: false,
},
});