- Frontend React (SKEEN Brand) con Vite, TypeScript, Tailwind - Frontend Homenest (versión alternativa) - Módulos Odoo 17 custom (citas, pacientes, monedero, pagos, ventas, inventario, whatsapp) - WACRM fork (Next.js 16 + Supabase) - Hermes + Bridge + Skills (Qwen3.6 via Nan Builders) - Scripts de migración y operación - Documentación extensiva en docs/
22 lines
680 B
TypeScript
22 lines
680 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
tsconfigPaths: true,
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
|
|
// Dummy secrets — encryption.ts / webhook-signature.ts read these
|
|
// at module load. Tests never hit a real Meta/Supabase service, so
|
|
// any 32-byte hex / non-empty string will do; keep them lexically
|
|
// identical to the CI build env so behaviour matches.
|
|
env: {
|
|
ENCRYPTION_KEY:
|
|
"0000000000000000000000000000000000000000000000000000000000000000",
|
|
META_APP_SECRET: "test-meta-app-secret",
|
|
},
|
|
clearMocks: true,
|
|
},
|
|
});
|