{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "test-results-demo",
  "title": "Test Results: Example",
  "description": "Two suites with one failure.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/test-results.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/test-results-demo.tsx",
      "content": "import { TestResults } from \"@/registry/cuelark/ui/test-results\";\n\nexport default function TestResultsDemo() {\n  return (\n    <TestResults\n      className=\"w-full max-w-lg\"\n      suites={[\n        { name: \"tax.test.ts\", tests: [{ name: \"returns 0 without a tax ID\", status: \"pass\", duration: 3 }, { name: \"rounds to the cent\", status: \"pass\", duration: 2 }] },\n        {\n          name: \"invoice.test.ts\",\n          tests: [\n            { name: \"totals include tax\", status: \"pass\", duration: 6 },\n            { name: \"credit notes are negative\", status: \"fail\", duration: 9, error: \"expected -42.5 to equal -42.50\\n  at invoice.test.ts:31\" },\n            { name: \"multi-currency (pending)\", status: \"skip\" },\n          ],\n        },\n      ]}\n    />\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "test-results",
    "example"
  ],
  "type": "registry:component"
}