Skip to content

fix: handle / prefix in source #443

fix: handle / prefix in source

fix: handle / prefix in source #443

Triggered via pull request November 6, 2025 22:50
Status Failure
Total duration 1m 12s
Artifacts

module.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/app/test/unit/utils/tree.test.ts > buildTree of documents with one level of depth > Without draft: src/app/test/unit/utils/tree.test.ts#L53
AssertionError: expected [ { name: 'home', …(6) }, …(1) ] to strictly equal [ { name: 'home', …(5) }, …(1) ] - Expected + Received @@ -2,10 +2,11 @@ { "collections": [ "landing", ], "fsPath": "index.md", + "id": "landing/index.md", "name": "home", "prefix": null, "routePath": "/", "type": "file", }, @@ -14,30 +15,33 @@ { "collections": [ "docs", ], "fsPath": "1.getting-started/2.introduction.md", + "id": "docs/1.getting-started/2.introduction.md", "name": "introduction", "prefix": 2, "routePath": "/getting-started/introduction", "type": "file", }, { "collections": [ "docs", ], "fsPath": "1.getting-started/3.installation.md", + "id": "docs/1.getting-started/3.installation.md", "name": "installation", "prefix": 3, "routePath": "/getting-started/installation", "type": "file", }, ], "collections": [ "docs", ], "fsPath": "1.getting-started", + "id": "1.getting-started", "name": "getting-started", "prefix": 1, "type": "directory", }, ] ❯ src/app/test/unit/utils/tree.test.ts:53:18
src/app/test/integration/actions.test.ts > Media - Action Chains Integration Tests > CreateMediaFolder > Upload > Revert Media: src/app/test/integration/actions.test.ts#L1139
AssertionError: expected 1 to deeply equal +0 - Expected + Received - 0 + 1 ❯ src/app/test/integration/actions.test.ts:1139:35
src/app/test/integration/actions.test.ts > Media - Action Chains Integration Tests > Rename > Rename: src/app/test/mocks/media.ts#L19
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockMedia src/app/test/mocks/media.ts:19:24 ❯ Object.<anonymous> src/app/test/mocks/host.ts:54:21 ❯ Object.rename src/app/src/composables/useDraftMedias.ts:63:46 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:959:66
src/app/test/integration/actions.test.ts > Media - Action Chains Integration Tests > Rename > Revert: src/app/test/mocks/media.ts#L19
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockMedia src/app/test/mocks/media.ts:19:24 ❯ Object.<anonymous> src/app/test/mocks/host.ts:54:21 ❯ Object.rename src/app/src/composables/useDraftMedias.ts:63:46 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:867:66
src/app/test/integration/actions.test.ts > Media - Action Chains Integration Tests > Upload > Rename: src/app/test/mocks/media.ts#L19
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockMedia src/app/test/mocks/media.ts:19:24 ❯ Object.<anonymous> src/app/test/mocks/host.ts:54:21 ❯ Object.rename src/app/src/composables/useDraftMedias.ts:63:46 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:733:66
src/app/test/integration/actions.test.ts > Document - Action Chains Integration Tests > Select > Rename > Rename: src/app/test/mocks/document.ts#L5
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockDocument src/app/test/mocks/document.ts:5:15 ❯ Object.<anonymous> src/app/test/mocks/host.ts:22:24 ❯ Object.rename src/app/src/composables/useDraftDocuments.ts:64:64 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:586:66
src/app/test/integration/actions.test.ts > Document - Action Chains Integration Tests > Select > Rename > Revert: src/app/test/mocks/document.ts#L5
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockDocument src/app/test/mocks/document.ts:5:15 ❯ Object.<anonymous> src/app/test/mocks/host.ts:22:24 ❯ Object.rename src/app/src/composables/useDraftDocuments.ts:64:64 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:530:66
src/app/test/integration/actions.test.ts > Document - Action Chains Integration Tests > Select > Rename > Update: src/app/test/mocks/document.ts#L5
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockDocument src/app/test/mocks/document.ts:5:15 ❯ Object.<anonymous> src/app/test/mocks/host.ts:22:24 ❯ Object.rename src/app/src/composables/useDraftDocuments.ts:64:64 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:415:66
src/app/test/integration/actions.test.ts > Document - Action Chains Integration Tests > Select > Update > Rename: src/app/test/mocks/document.ts#L5
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockDocument src/app/test/mocks/document.ts:5:15 ❯ Object.<anonymous> src/app/test/mocks/host.ts:22:24 ❯ Object.rename src/app/src/composables/useDraftDocuments.ts:64:64 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:348:66
src/app/test/integration/actions.test.ts > Document - Action Chains Integration Tests > Create > Rename: src/app/test/mocks/document.ts#L5
TypeError: Cannot read properties of undefined (reading 'split') ❯ createMockDocument src/app/test/mocks/document.ts:5:15 ❯ Object.<anonymous> src/app/test/mocks/host.ts:22:24 ❯ Object.rename src/app/src/composables/useDraftDocuments.ts:64:64 ❯ Object.rename-item src/app/src/composables/useContext.ts:149:38 ❯ src/app/test/integration/actions.test.ts:150:66