'use client' import type { TestResult } from './types' interface TestResultCardProps { result: TestResult } export function TestResultCard({ result }: TestResultCardProps) { const statusColors = { passed: 'bg-green-100 border-green-300 text-green-800', failed: 'bg-red-100 border-red-300 text-red-800', pending: 'bg-yellow-100 border-yellow-300 text-yellow-800', skipped: 'bg-gray-100 border-gray-300 text-gray-600', } const statusIcons = { passed: '✓', failed: '✗', pending: '○', skipped: '−', } return (
{result.description}
{result.expected}
{result.actual}