import { defineConfig } from "vitest/config"; export default defineConfig({ test: { typecheck: { enabled: true, tsconfig: "./tests/tsconfig.json", }, projects: [ { test: { globals: true, name: "unit", environment: "node", root: "./tests", include: ["**/*.test.{js,ts,jsx,tsx}"], exclude: ["wire/**"], setupFiles: ["./setup.ts"], }, }, { test: { globals: true, name: "wire", environment: "node", root: "./tests/wire", setupFiles: ["../setup.ts", "../mock-server/setup.ts"], }, }, ], passWithNoTests: true, }, });