mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-03 08:05:37 +00:00
21 lines
462 B
TypeScript
21 lines
462 B
TypeScript
import path from "path";
|
|
|
|
import { defineVitestConfig } from "@nuxt/test-utils/config";
|
|
|
|
export default defineVitestConfig({
|
|
root: path.resolve(__dirname),
|
|
test: {
|
|
environment: "nuxt",
|
|
include: ["app/**/*.spec.ts"],
|
|
coverage: {
|
|
reporter: ["text", "json", "html"],
|
|
all: true,
|
|
include: ["app/**/*.{ts,vue}"],
|
|
exclude: ["app/**/*.spec.ts", "app/constants/**"],
|
|
thresholds: {
|
|
100: true,
|
|
},
|
|
},
|
|
},
|
|
});
|