Files
Aurora-dockside-ddev/vitest.config.ts
T
R3ap3R 25eb6b7b58 Wire up Tailwind CSS 4, Vitest, and core app libraries
Add Tailwind (via Vite plugin), Vitest+RTL test setup, and the
Zustand/TanStack Query/Lucide libraries the architecture plan calls
for. Strip the electron-vite demo boilerplate (logo, IPC ping demo,
Versions component) in favor of a minimal placeholder screen.

Verified: typecheck, lint, and test suite all pass; pnpm dev boots
and serves the correct renderer HTML.
2026-08-02 23:21:04 -05:00

24 lines
526 B
TypeScript

import { resolve } from 'path'
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./src/test/setup.ts'],
include: ['src/**/*.test.{ts,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['src/renderer/src/**/*.{ts,tsx}']
}
}
})