import { defineProject } from 'vitest/config'; export default defineProject({ // The opencode TUI plugin is a .tsx that ships as source; its pure helpers are // unit-tested by importing that file directly, so the test run needs the same // JSX runtime opencode transpiles it with. esbuild: { jsx: 'automatic', jsxImportSource: '@opentui/solid', }, test: { name: 'cli', include: ['tests/**/*.test.ts'], }, });