@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 20 lines 447 Bytes
Raw
1 import path from "node:path";
2 import { defineConfig } from "vitest/config";
3
4 const packageRoot = path.resolve(import.meta.dirname, "..");
5
6 const project = (hooks: "stack" | "list") => ({
7 extends: true as const,
8 test: {
9 name: `hooks-${hooks}`,
10 sequence: { hooks },
11 },
12 });
13
14 export default defineConfig({
15 test: {
16 root: packageRoot,
17 include: ["vitest/**/*.test.ts"],
18 projects: [project("stack"), project("list")],
19 },
20 });