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

View File

@@ -11,7 +11,8 @@
"start": "next start",
"start:monorepo": "yarn start -p 3000",
"lint": "next lint --fix",
"prep": "node ./scripts/prepare.mjs"
"prep": "node ./scripts/prepare.mjs",
"test": "vitest"
},
"dependencies": {
"@mdx-js/loader": "^3.1.0",
@@ -64,7 +65,9 @@
"eslint": "^9.13.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.0.0",
"types": "*"
"types": "*",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=20"