import { defineConfig } from "vitest/config"; // url-get ships no unit tests — it is a thin node-html-markdown fetch wrapper // whose behaviour is exercised end-to-end, not in isolation. The package keeps // `"test": "vitest run"` for sweep uniformity, so `passWithNoTests` lets the // run exit 0 instead of failing on "No test files found". Add real specs here // and this flag becomes a no-op. export default defineConfig({ test: { environment: "node", include: ["src/**/__tests__/**/*.test.ts"], passWithNoTests: true, }, });