docs: added tests for components in api-reference project (#14428)

* add tests (WIP)

* added test for h2

* finished adding tests

* fixes

* fixes

* fixes
This commit is contained in:
Shahed Nasser
2026-01-05 10:56:56 +02:00
committed by GitHub
parent fb772f0f6a
commit 4d632e7a5d
102 changed files with 8278 additions and 127 deletions
@@ -1,7 +1,8 @@
"use client"
import React from "react"
import { Button } from "docs-ui"
import { useArea } from "../../providers/area"
import { useArea } from "@/providers/area"
import Link from "next/link"
const DownloadFull = () => {
@@ -9,7 +10,12 @@ const DownloadFull = () => {
return (
<Button variant="secondary">
<Link href={`/download/${area}`} download target="_blank">
<Link
href={`/download/${area}`}
download
target="_blank"
data-testid="download-full-link"
>
Download OpenApi Specs Collection
</Link>
</Button>