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

* docs: fixes and improvements to testing docs

* generate files
This commit is contained in:
Shahed Nasser
2025-01-31 15:36:20 +02:00
committed by GitHub
parent 105e73b523
commit d6480c4d0a
12 changed files with 224 additions and 38 deletions
+6 -7
View File
@@ -59,10 +59,10 @@ export const generatedEditDates = {
"app/learn/fundamentals/data-models/index/page.mdx": "2024-10-21T13:30:21.368Z",
"app/learn/fundamentals/custom-cli-scripts/page.mdx": "2024-10-23T07:08:55.898Z",
"app/learn/fundamentals/data-models/property-types/page.mdx": "2024-12-12T10:41:32.999Z",
"app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx": "2024-12-09T15:34:08.049Z",
"app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx": "2025-01-31T13:19:02.586Z",
"app/learn/debugging-and-testing/testing-tools/integration-tests/page.mdx": "2024-12-09T15:52:01.019Z",
"app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx": "2024-12-09T15:51:15.422Z",
"app/learn/debugging-and-testing/testing-tools/page.mdx": "2024-12-09T15:53:56.878Z",
"app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx": "2025-01-31T13:19:02.586Z",
"app/learn/debugging-and-testing/testing-tools/page.mdx": "2025-01-31T13:19:02.587Z",
"app/learn/debugging-and-testing/testing-tools/unit-tests/module-example/page.mdx": "2024-09-02T11:04:27.232Z",
"app/learn/debugging-and-testing/testing-tools/unit-tests/page.mdx": "2024-09-02T11:03:26.997Z",
"app/learn/fundamentals/modules/service-constraints/page.mdx": "2024-11-19T16:37:47.253Z",
@@ -70,8 +70,8 @@ export const generatedEditDates = {
"app/learn/fundamentals/api-routes/validation/page.mdx": "2024-12-09T13:04:02.426Z",
"app/learn/fundamentals/api-routes/errors/page.mdx": "2024-12-09T16:44:19.781Z",
"app/learn/fundamentals/admin/constraints/page.mdx": "2024-10-21T13:30:21.366Z",
"app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx": "2024-12-09T15:52:22.185Z",
"app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx": "2024-12-09T15:52:57.091Z",
"app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx": "2025-01-31T13:19:02.586Z",
"app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx": "2025-01-31T13:19:02.587Z",
"app/learn/fundamentals/module-links/custom-columns/page.mdx": "2025-01-06T11:19:13.178Z",
"app/learn/fundamentals/module-links/directions/page.mdx": "2024-12-12T15:31:31.555Z",
"app/learn/fundamentals/module-links/page.mdx": "2024-12-09T14:39:26.668Z",
@@ -110,10 +110,9 @@ export const generatedEditDates = {
"app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z",
"app/learn/fundamentals/module-links/link/page.mdx": "2025-01-06T09:27:25.604Z",
"app/learn/conventions/ts-aliases/page.mdx": "2025-01-23T15:01:15.403Z",
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-24T12:09:24.087Z",
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-27T08:45:19.028Z",
"app/learn/fundamentals/plugins/create/page.mdx": "2025-01-28T07:08:05.418Z",
"app/learn/fundamentals/plugins/page.mdx": "2025-01-22T10:14:10.433Z",
"app/learn/customization/reuse-customizations/page.mdx": "2025-01-22T10:01:57.665Z",
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-27T08:45:19.028Z",
"app/learn/update/page.mdx": "2025-01-27T08:45:19.030Z"
}
+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,