- Add Electron main-process IPC handlers and preload bridges for API proxying, window controls, update install, and platform lookup - Introduce a desktop renderer entrypoint with DesktopWrapper and a custom frameless TitleBar component - Add Electron-aware renderer utilities including API transport selection and hooks for runtime detection, auto-update events, and deep links - Update dashboard header behavior for Electron mode and expand desktop tests across preload, transport, hooks, and title bar flows - Document the desktop renderer architecture and update desktop package config/dependencies
15 lines
383 B
TypeScript
15 lines
383 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
const maxWorkers = Number.parseInt(process.env.VITEST_MAX_WORKERS ?? "16", 10);
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
|
|
environmentMatchGlobs: [["src/renderer/**", "jsdom"]],
|
|
maxWorkers,
|
|
fileParallelism: true,
|
|
pool: "threads",
|
|
passWithNoTests: true,
|
|
},
|
|
});
|