freshyo/apps/superadmin-ui/vitest.config.ts
2026-10-10 19:56:02 +05:30

11 lines
424 B
TypeScript

import { defineConfig } from 'vitest/config'
// Minimal config for the pure-logic tests in this app: the app's vite.config.ts pulls in
// TanStack Start / Cloudflare / Nitro plugins that are irrelevant (and unavailable) in a
// node test run. Keep this file out of the app build — vite only reads vite.config.ts.
export default defineConfig({
test: {
include: ['src/**/*.test.ts'],
environment: 'node',
},
})