11 lines
424 B
TypeScript
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',
|
|
},
|
|
})
|