Files
fusion/packages/desktop/vitest.config.ts
gsxdsm be19cb974c feat(FN-1073): add desktop CLI workflow and packaging support
- Add new `fn desktop` CLI command with argument handling and comprehensive command/bin tests
- Implement desktop build and hot-reload dev scripts and wire package scripts/dependencies for Electron workflows
- Add electron-builder configuration and desktop main-process/integration test coverage to stabilize packaging behavior
- Document desktop development and usage in README files and include a changeset for the published CLI package
2026-04-08 01:40:05 -07:00

17 lines
433 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"]],
pool: "threads",
testTimeout: 30_000,
hookTimeout: 30_000,
maxWorkers,
fileParallelism: true,
passWithNoTests: true,
},
});