Skip to content

Add Shape manager and Command #29

Add Shape manager and Command

Add Shape manager and Command #29

Triggered via pull request December 12, 2024 07:06
Status Failure
Total duration 28s
Artifacts

code-heal-check-node.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
src/lib/mono/shape/shape-manager.test.ts > ShapeManagerTest > testExecute_Remove_removeGroupItem_ungroup: monosketch-svelte/src/lib/mono/shape/command/shape-manager-commands.ts#L104
TypeError: this.group.itemArray.toReversed is not a function ❯ Ungroup.execute src/lib/mono/shape/command/shape-manager-commands.ts:104:44 ❯ ShapeManager.execute src/lib/mono/shape/shape-manager.ts:95:17 ❯ RemoveShape.execute src/lib/mono/shape/command/shape-manager-commands.ts:50:30 ❯ ShapeManager.execute src/lib/mono/shape/shape-manager.ts:95:17 ❯ src/lib/mono/shape/shape-manager.test.ts:73:16
src/lib/mono/shape/shape-manager.test.ts > ShapeManagerTest > testExecute_Ungroup: monosketch-svelte/src/lib/mono/shape/command/shape-manager-commands.ts#L104
TypeError: this.group.itemArray.toReversed is not a function ❯ Ungroup.execute src/lib/mono/shape/command/shape-manager-commands.ts:104:44 ❯ ShapeManager.execute src/lib/mono/shape/shape-manager.ts:95:17 ❯ src/lib/mono/shape/shape-manager.test.ts:149:16
vitest
Process completed with exit code 1.
lint: monosketch-svelte/src/lib/mono/shape/shape-manager.test.ts#L201
Newline required at end of file but not found
lint: monosketch-svelte/src/lib/mono/shape/shape/group.ts#L126
Unexpected any. Specify a different type
lint: monosketch-svelte/src/lib/mono/shape/shape/mock-shape.ts#L35
Newline required at end of file but not found
lint
Process completed with exit code 1.
bundle_svelte
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
vitest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: monosketch-svelte/src/lib/mono/shape/shape/line.ts#L407
'point' is defined but never used. Allowed unused args must match /^_/u
lint: monosketch-svelte/src/lib/mono/workspace/canvas/interaction-canvas-view-controller.ts#L132
'pointPx' is defined but never used. Allowed unused args must match /^_/u