import { defineConfig } from 'vitest/config' /** * Unit tests for the Electron main process. Node environment only — renderer * (React) is covered by the Playwright e2e suite, not here. `electron` is a * native module that can't be imported outside the Electron runtime, so tests * that touch it mock it (see snapshot-store.test.ts). */ export default defineConfig({ test: { environment: 'node', include: ['src/main/**/*.test.ts'], }, })