Skip to content

Make tests run on other OSes #22

Make tests run on other OSes

Make tests run on other OSes #22

Triggered via push June 16, 2024 19:43
Status Failure
Total duration 50s
Artifacts
static-checks
14s
static-checks
Matrix: check-code-quality
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/specs/fsd-aware-traverse.spec.ts > getSlices: src/specs/fsd-aware-traverse.spec.ts#L38
AssertionError: expected { …(3) } to deeply equal { …(3) } - Expected + Received Object { "editor": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\editor\\ui", "type": "folder", }, ], "path": "\\pages\\editor", "type": "folder", }, - "settings/notifications": Object { + "settings\\notifications": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\settings\\notifications\\ui", "type": "folder", }, Object { "path": "\\pages\\settings\\notifications\\index.ts", "type": "file", }, ], "path": "\\pages\\settings\\notifications", "type": "folder", }, - "settings/profile": Object { + "settings\\profile": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\settings\\profile\\ui", "type": "folder", }, Object { "path": "\\pages\\settings\\profile\\index.ts", "type": "file", }, ], "path": "\\pages\\settings\\profile", "type": "folder", }, } ❯ src/specs/fsd-aware-traverse.spec.ts:38:55
src/specs/prepare-test.ts > parseIntoFolder: src/specs/prepare-test.ts#L62
AssertionError: expected { type: 'folder', path: '/', …(1) } to deeply equal { type: 'folder', path: '/', …(1) } - Expected + Received Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "children": Array [], - "path": "/entities/users/ui", + "path": "\\entities\\users\\ui", "type": "folder", }, Object { - "path": "/entities/users/index.ts", + "path": "\\entities\\users\\index.ts", "type": "file", }, ], - "path": "/entities/users", + "path": "\\entities\\users", "type": "folder", }, Object { "children": Array [ Object { "children": Array [], - "path": "/entities/posts/ui", + "path": "\\entities\\posts\\ui", "type": "folder", }, Object { - "path": "/entities/posts/index.ts", + "path": "\\entities\\posts\\index.ts", "type": "file", }, ], - "path": "/entities/posts", + "path": "\\entities\\posts", "type": "folder", }, ], - "path": "/entities", + "path": "\\entities", "type": "folder", }, Object { "children": Array [ Object { "children": Array [ Object { - "path": "/shared/ui/index.ts", + "path": "\\shared\\ui\\index.ts", "type": "file", }, Object { - "path": "/shared/ui/Button.tsx", + "path": "\\shared\\ui\\Button.tsx", "type": "file", }, ], - "path": "/shared/ui", + "path": "\\shared\\ui", "type": "folder", }, ], - "path": "/shared", + "path": "\\shared", "type": "folder", }, ], "path": "/", "type": "folder", } ❯ src/specs/prepare-test.ts:62:18
check-code-quality (windows-latest, 18)
Process completed with exit code 1.
check-code-quality (windows-latest, 22)
The job was canceled because "windows-latest_18" failed.
src/specs/fsd-aware-traverse.spec.ts > getSlices: src/specs/fsd-aware-traverse.spec.ts#L38
AssertionError: expected { …(3) } to deeply equal { …(3) } - Expected + Received Object { "editor": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\editor\\ui", "type": "folder", }, ], "path": "\\pages\\editor", "type": "folder", }, - "settings/notifications": Object { + "settings\\notifications": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\settings\\notifications\\ui", "type": "folder", }, Object { "path": "\\pages\\settings\\notifications\\index.ts", "type": "file", }, ], "path": "\\pages\\settings\\notifications", "type": "folder", }, - "settings/profile": Object { + "settings\\profile": Object { "children": Array [ Object { "children": Array [], "path": "\\pages\\settings\\profile\\ui", "type": "folder", }, Object { "path": "\\pages\\settings\\profile\\index.ts", "type": "file", }, ], "path": "\\pages\\settings\\profile", "type": "folder", }, } ❯ src/specs/fsd-aware-traverse.spec.ts:38:55
src/specs/prepare-test.ts > parseIntoFolder: src/specs/prepare-test.ts#L62
AssertionError: expected { type: 'folder', path: '/', …(1) } to deeply equal { type: 'folder', path: '/', …(1) } - Expected + Received Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "children": Array [], - "path": "/entities/users/ui", + "path": "\\entities\\users\\ui", "type": "folder", }, Object { - "path": "/entities/users/index.ts", + "path": "\\entities\\users\\index.ts", "type": "file", }, ], - "path": "/entities/users", + "path": "\\entities\\users", "type": "folder", }, Object { "children": Array [ Object { "children": Array [], - "path": "/entities/posts/ui", + "path": "\\entities\\posts\\ui", "type": "folder", }, Object { - "path": "/entities/posts/index.ts", + "path": "\\entities\\posts\\index.ts", "type": "file", }, ], - "path": "/entities/posts", + "path": "\\entities\\posts", "type": "folder", }, ], - "path": "/entities", + "path": "\\entities", "type": "folder", }, Object { "children": Array [ Object { "children": Array [ Object { - "path": "/shared/ui/index.ts", + "path": "\\shared\\ui\\index.ts", "type": "file", }, Object { - "path": "/shared/ui/Button.tsx", + "path": "\\shared\\ui\\Button.tsx", "type": "file", }, ], - "path": "/shared/ui", + "path": "\\shared\\ui", "type": "folder", }, ], - "path": "/shared", + "path": "\\shared", "type": "folder", }, ], "path": "/", "type": "folder", } ❯ src/specs/prepare-test.ts:62:18
check-code-quality (windows-latest, 22)
Process completed with exit code 1.