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:
Shahed Nasser
2025-12-30 13:19:57 +02:00
committed by GitHub
parent e110c08970
commit 40db4c22d3
302 changed files with 27578 additions and 531 deletions

View File

@@ -21,6 +21,7 @@ export const EditButton = ({ filePath, editDate }: EditButtonProps) => {
"text-medusa-fg-subtle hover:text-medusa-fg-base",
"text-compact-small-plus"
)}
data-testid="edit-button"
>
<span>Edit this page</span>
<ArrowUpRightOnBox />