Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(web): enable JSX in vitest esbuild config

Richie McIlroy484c48818210
diff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.ts
index b12dc548f..153f6f549 100644
--- a/apps/web/vitest.config.ts
+++ b/apps/web/vitest.config.ts
@@ -2,6 +2,9 @@ import { join } from "node:path";
import { defineConfig } from "vitest/config";
export default defineConfig({
+ esbuild: {
+ jsx: "automatic",
+ },
test: {
environment: "node",
include: ["__tests__/**/*.test.ts"],