hts/apps/api/vitest.benchmark.ts

19 lines
373 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
dir: "./src/benchmarks",
reporters: ["html", "verbose"],
outputFile: "./.vitest/html",
alias: {
"@/": new URL("./src/", import.meta.url).pathname,
},
pool: "threads",
poolOptions: {
threads: {
singleThread: true,
},
},
},
});