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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user