docs: added documentation on testing tools (#8939)

- Added documentation on how to use Medusa's tools from the `medusa-test-utils` package to create integration and unit tests.
- Added a manual reference on the `medusaIntegrationTestRunner` and `moduleIntegrationTestRunner` functions. Since the typings in the source code aren't very informative, I opted for a manual reference shedding light on the important bits.

Closes DOCS-852
This commit is contained in:
Shahed Nasser
2024-09-03 14:50:45 +00:00
committed by GitHub
parent e9fce4c5c2
commit 58f297cc75
18 changed files with 1125 additions and 76 deletions
@@ -1011,6 +1011,18 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/storefront-development/tips/page.mdx",
"pathname": "/storefront-development/tips"
},
{
"filePath": "/www/apps/resources/app/test-tools-reference/medusaIntegrationTestRunner/page.mdx",
"pathname": "/test-tools-reference/medusaIntegrationTestRunner"
},
{
"filePath": "/www/apps/resources/app/test-tools-reference/moduleIntegrationTestRunner/page.mdx",
"pathname": "/test-tools-reference/moduleIntegrationTestRunner"
},
{
"filePath": "/www/apps/resources/app/test-tools-reference/page.mdx",
"pathname": "/test-tools-reference"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/cors-errors/page.mdx",
"pathname": "/troubleshooting/cors-errors"