'use client' import type { TestRun } from '../types' export function TestRunsTable({ runs }: { runs: TestRun[] }) { if (runs.length === 0) { return (
| ID | Zeitpunkt | Commit | Golden Score | Tests | Bestanden | Dauer |
|---|---|---|---|---|---|---|
| #{run.id} | {new Date(run.timestamp).toLocaleString('de-DE')} | {run.git_commit?.slice(0, 7) || '-'} | = 4 ? 'text-emerald-600' : run.golden_score >= 3 ? 'text-amber-600' : 'text-red-600' }`} > {run.golden_score.toFixed(2)} | {run.total_tests} | {run.passed_tests} / {run.failed_tests} | {run.duration_seconds.toFixed(1)}s |