docs: added support for tests in www workspace (#14415)
* tests for components (WIP) * finished adding tests to components * added tests for providers * add test command to doc tests * fix imports * exclude test files * remove import * add vitest as dev dependency * fix build error * ignore test files from eslint * fix test from docs-ui
This commit is contained in:
1 parent
e110c08970
commit
40db4c22d3
302 files changed
+27578
-531
No files matched your search
@@ -2,8 +2,10 @@
|
||||
|
||||
import clsx from "clsx"
|
||||
import React from "react"
|
||||
import { CopyButton, Link } from "@/components"
|
||||
import { useHeadingUrl, useLayout } from "../../.."
|
||||
import { CopyButton } from "@/components/CopyButton"
|
||||
import { Link } from "@/components/Link"
|
||||
import { useHeadingUrl } from "../../../hooks/use-heading-url"
|
||||
import { useLayout } from "../../../providers/Layout"
|
||||
|
||||
export type H2Props = React.HTMLAttributes<HTMLHeadingElement> & {
|
||||
id?: string
|
||||
|
||||
Reference in new issue
Block a user