ptitlutins/vitest.config.ts
2026-06-10 23:37:21 +02:00

11 lines
385 B
TypeScript

import { defineConfig } from "vitest/config"
// Pure-function unit tests. The functions under app/utils are pure (no Nuxt
// runtime), so a plain node environment is enough; tests import them by
// relative path and the type-only `~/types` imports are stripped at transform.
export default defineConfig({
test: {
environment: "node",
include: ["test/**/*.test.ts"],
},
})