Skip to content

Merge pull request #38 from bertyhell/feat/add-ascii-export-idea #27

Merge pull request #38 from bertyhell/feat/add-ascii-export-idea

Merge pull request #38 from bertyhell/feat/add-ascii-export-idea #27

Triggered via push June 25, 2025 07:31
Status Failure
Total duration 33s
Artifacts

deploy.yml

on: push
build-and-deploy
28s
build-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

3 errors
build-and-deploy
Process completed with exit code 1.
test/tools/eraser/eraser.test.ts > Draw circle and line and erase part of circle: test/tools/eraser/eraser.test.ts#L49
AssertionError: expected 5.5493670547028255 to be close to -0.7338182524767606, received difference is 6.283185307179586, but expected 0.0000049999999999999996 ❯ test/tools/eraser/eraser.test.ts:49:37
src/helpers/find-closest-entity.test.ts > findClosestEntity > should return the arc as the closest entity: src/helpers/find-closest-entity.test.ts#L14
AssertionError: expected LineEntity{ …(6) } to deeply equal ArcEntity{ …(6) } - Expected + Received - ArcEntity { - "arc": { - "counterClockwise": true, - "endAngle": 1.5707963267948966, - "name": "arc", - "pc": { + LineEntity { + "id": "ef6a4059-b477-4f53-af00-42241efae328", + "layerId": "e9d841dd-7ee4-4bd8-8cfd-b8381c73fd50", + "lineColor": "#fff", + "lineDash": undefined, + "lineWidth": 1, + "segment": { + "name": "segment", + "pe": { "name": "point", "x": 524.8487532291128, - "y": 1015.5664802463798, + "y": 1172.4901562767805, + }, + "ps": { + "name": "point", + "x": 276.92367603039963, + "y": 1172.4901562767805, }, - "r": 156.92367603040066, - "startAngle": 0, }, - "id": "8656dec4-00ae-4042-ba67-1f7d0056079b", - "layerId": "e9d841dd-7ee4-4bd8-8cfd-b8381c73fd50", - "lineColor": "#fff", - "lineDash": undefined, - "lineWidth": 1, } ❯ src/helpers/find-closest-entity.test.ts:14:36