import { resolve } from 'path' import { defineConfig } from 'vitest/config' // Stand-alone vitest config. The unit tests only exercise the pure arg-building // logic in src/main/buildArgs.ts, which imports types/consts from @shared — so we // just need that one alias mirrored from electron.vite.config.ts. export default defineConfig({ resolve: { alias: { '@shared': resolve('src/shared') } }, test: { include: ['test/**/*.test.ts'], environment: 'node' } })