preact-missing-hooks
Version:
A lightweight, extendable collection of missing React-like hooks for Preact — plus fresh, powerful new ones designed specifically for modern Preact apps.
23 lines (21 loc) • 437 B
text/typescript
import { defineConfig } from "vitest/config";
import path from "node:path";
export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
test: {
globals: true,
environment: "jsdom",
setupFiles: [],
include: ["tests/**/*.test.{ts,tsx}"],
poolOptions: {
threads: {
maxThreads: 8,
minThreads: 1,
},
},
},
});