11 lines
385 B
TypeScript
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"],
|
|
},
|
|
})
|