docs: fixes and improvements to testing docs (#11244)

* docs: fixes and improvements to testing docs

* generate files
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-31 15:36:20 +02:00
1 parent 105e73b523
commit d6480c4d0a
12 files changed
+224 -38

No files matched your search

+36 -18
View File
@@ -870,8 +870,26 @@ export const generatedSidebar = [
"initialOpen": false
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "5. Debugging & Testing",
"title": "5. Conventions",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Type Aliases",
"path": "/learn/conventions/ts-aliases",
"children": [],
"chapterTitle": "5.1. Type Aliases"
}
],
"chapterTitle": "5. Conventions"
},
{
"type": "category",
"title": "6. Debugging & Testing",
"children": [
{
"loaded": true,
@@ -879,7 +897,7 @@ export const generatedSidebar = [
"type": "link",
"path": "/learn/debugging-and-testing",
"title": "Debugging and Testing",
"chapterTitle": "5. Debugging & Testing",
"chapterTitle": "6. Debugging & Testing",
"children": [
{
"loaded": true,
@@ -888,7 +906,7 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/testing-tools",
"title": "Testing Tools",
"children": [],
"chapterTitle": "5.1. Testing Tools"
"chapterTitle": "6.1. Testing Tools"
},
{
"loaded": true,
@@ -904,7 +922,7 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/testing-tools/integration-tests/api-routes",
"title": "Example: API Routes Tests",
"children": [],
"chapterTitle": "5.2.1. Example: API Routes Tests"
"chapterTitle": "6.2.1. Example: API Routes Tests"
},
{
"loaded": true,
@@ -913,10 +931,10 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/testing-tools/integration-tests/workflows",
"title": "Example: Workflows Tests",
"children": [],
"chapterTitle": "5.2.2. Example: Workflows Tests"
"chapterTitle": "6.2.2. Example: Workflows Tests"
}
],
"chapterTitle": "5.2. Integration Tests"
"chapterTitle": "6.2. Integration Tests"
},
{
"loaded": true,
@@ -932,10 +950,10 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/testing-tools/modules-tests/module-example",
"title": "Example",
"children": [],
"chapterTitle": "5.3.1. Example"
"chapterTitle": "6.3.1. Example"
}
],
"chapterTitle": "5.3. Modules Tests"
"chapterTitle": "6.3. Modules Tests"
},
{
"loaded": true,
@@ -944,7 +962,7 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/instrumentation",
"title": "Instrumentation",
"children": [],
"chapterTitle": "5.4. Instrumentation"
"chapterTitle": "6.4. Instrumentation"
},
{
"loaded": true,
@@ -953,7 +971,7 @@ export const generatedSidebar = [
"path": "/learn/debugging-and-testing/logging",
"title": "Logging",
"children": [],
"chapterTitle": "5.5. Logging"
"chapterTitle": "6.5. Logging"
}
],
"childrenSameLevel": true
@@ -964,7 +982,7 @@ export const generatedSidebar = [
},
{
"type": "category",
"title": "6. Production",
"title": "7. Production",
"children": [
{
"loaded": true,
@@ -972,7 +990,7 @@ export const generatedSidebar = [
"type": "link",
"path": "/learn/build",
"title": "Build",
"chapterTitle": "6. Production",
"chapterTitle": "7. Production",
"children": [
{
"loaded": true,
@@ -981,7 +999,7 @@ export const generatedSidebar = [
"path": "/learn/deployment",
"title": "Deployment Overview",
"children": [],
"chapterTitle": "6.1. Deployment Overview"
"chapterTitle": "7.1. Deployment Overview"
},
{
"loaded": true,
@@ -990,7 +1008,7 @@ export const generatedSidebar = [
"path": "/learn/deployment/general",
"title": "General Deployment",
"children": [],
"chapterTitle": "6.2. General Deployment"
"chapterTitle": "7.2. General Deployment"
}
],
"childrenSameLevel": true
@@ -1001,7 +1019,7 @@ export const generatedSidebar = [
},
{
"type": "category",
"title": "7. Updates",
"title": "8. Updates",
"children": [
{
"loaded": true,
@@ -1009,7 +1027,7 @@ export const generatedSidebar = [
"type": "link",
"path": "/learn/update",
"title": "Updating Medusa",
"chapterTitle": "7. Updates",
"chapterTitle": "8. Updates",
"children": [],
"childrenSameLevel": true
}
@@ -1019,7 +1037,7 @@ export const generatedSidebar = [
},
{
"type": "category",
"title": "8. More Resources",
"title": "9. More Resources",
"children": [
{
"loaded": true,
@@ -1029,7 +1047,7 @@ export const generatedSidebar = [
"title": "More Resources",
"children": [],
"childrenSameLevel": true,
"chapterTitle": "8. More Resources"
"chapterTitle": "9. More Resources"
}
],
"loaded": true,