Nest 12 (ESM, vitest, oxlint). El .env se valida con zod al arrancar; prefijo global /api, CORS configurable y GET /api/health. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 lines
245 B
TypeScript
12 lines
245 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [tsconfigPaths()],
|
|
test: {
|
|
globals: true,
|
|
root: './',
|
|
include: ['**/*.e2e-spec.ts'],
|
|
},
|
|
});
|