mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-07-29 19:55:21 -04:00
- 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.
19 lines
515 B
TypeScript
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,
|
|
},
|
|
});
|