Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
568 B
Raw Blame
import { resolve } from "path";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";

export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: [
      { find: "@", replacement: resolve(__dirname, "src/renderer/src") },
      { find: /^electron$/, replacement: resolve(__dirname, "test/electron-guard.ts") },
    ],
  },
  test: {
    globals: true,
    include: ["src/**/*.test.{ts,tsx}", "scripts/**/*.test.mjs"],
    environment: "jsdom",
    setupFiles: ["./test/setup.ts"],
    passWithNoTests: true,
  },
});