mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
Set up testing infrastructure using Vitest and React Testing Library. Add test verifying empty MyComposition renders without errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
268 B
TypeScript
12 lines
268 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: "jsdom",
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
},
|
|
});
|