'use client' import { TestResultCard } from './TestResultCard' import type { TestCategoryResult } from './types' interface TestRunnerProps { category: string categoryResult?: TestCategoryResult isLoading: boolean onRunTests: () => void runButtonLabel?: string rerunButtonLabel?: string } export function TestRunner({ categoryResult, isLoading, onRunTests, runButtonLabel = '▶️ Tests ausfuehren', rerunButtonLabel = '🔄 Erneut ausfuehren', }: TestRunnerProps) { if (!categoryResult) { return (