selection stuff #932
static-analysis.yml
on: pull_request
yarn-fmt-check
9m 35s
yarn-build-wasm
12m 45s
yarn-tsc
13m 9s
yarn-lint
10m 38s
python-codespell
12s
yarn-unit-test
21m 7s
Annotations
7 errors and 8 warnings
yarn-fmt-check
aborted
|
yarn-lint
Process completed with exit code 1.
|
src/lang/std/artifactGraph.test.ts > testing createArtifactGraph > code with an extrusion, fillet and sketch of face: > snapshot of the artifactGraph:
src/lang/std/artifactGraph.test.ts#L227
Error: Snapshot `testing createArtifactGraph > code with an extrusion, fillet and sketch of face: > snapshot of the artifactGraph 1` mismatched
- Expected
+ Received
@@ -10,10 +10,11 @@
"range": [
37,
64,
],
},
+ "id": "UUID",
"pathIds": [
"UUID",
],
"type": "plane",
},
@@ -28,10 +29,11 @@
"range": [
37,
64,
],
},
+ "id": "UUID",
"planeId": "UUID",
"segIds": [
"UUID",
"UUID",
"UUID",
@@ -57,10 +59,11 @@
},
"edgeIds": [
"UUID",
"UUID",
],
+ "id": "UUID",
"pathId": "UUID",
"surfaceId": "UUID",
"type": "segment",
},
"UUID-3" => {
@@ -79,10 +82,11 @@
"edgeCutId": "UUID",
"edgeIds": [
"UUID",
"UUID",
],
+ "id": "UUID",
"pathId": "UUID",
"surfaceId": "UUID",
"type": "segment",
},
"UUID-4" => {
@@ -100,10 +104,11 @@
},
"edgeIds": [
"UUID",
"UUID",
],
+ "id": "UUID",
"pathId": "UUID",
"surfaceId": "UUID",
"type": "segment",
},
"UUID-5" => {
@@ -121,10 +126,11 @@
},
"edgeIds": [
"UUID",
"UUID",
],
+ "id": "UUID",
"pathId": "UUID",
"surfaceId": "UUID",
"type": "segment",
},
"UUID-6" => {
@@ -139,14 +145,16 @@
209,
217,
],
},
"edgeIds": [],
+ "id": "UUID",
"pathId": "UUID",
"type": "segment",
},
"UUID-7" => {
+ "id": "UUID",
"pathId": "UUID",
"type": "solid2D",
},
"UUID-8" => {
"codeRef": {
@@ -169,10 +177,11 @@
"UUID",
"UUID",
"UUID",
"UUID",
],
+ "id": "UUID",
"pathId": "UUID",
"subType": "extrusion",
"surfaceIds": [
"UUID",
"UUID",
@@ -183,95 +192,109 @@
],
"type": "sweep",
},
"UUID-9" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [],
"segId": "UUID",
"sweepId": "UUID",
"type": "wall",
},
"UUID-10" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [
"UUID",
],
"segId": "UUID",
"sweepId": "UUID",
"type": "wall",
},
"UUID-11" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [],
"segId": "UUID",
"sweepId": "UUID",
"type": "wall",
},
"UUID-12" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [],
"segId": "UUID",
"sweepId": "UUID",
"type": "wall",
},
"UUID-13" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [],
"subType": "start",
"sweepId": "UUID",
"type": "cap",
},
"UUID-14" => {
"edgeCutEdgeIds": [],
+ "id": "UUID",
"pathIds": [],
"subType": "end",
"sweepId": "UUID",
"type": "cap",
},
"UUID-15" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "opposite",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-16" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "adjacent",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-17" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "opposite",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-18" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "adjacent",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-19" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "opposite",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-20" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "adjacent",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-21" => {
+ "id": "UUID",
"segId": "UUID",
"subType": "opposite",
"sweepId": "UUID",
"type": "sweepEdge",
},
"UUID-22" => {
+ "id": "UUID",
|
src/lang/std/artifactGraph.test.ts > testing createArtifactGraph > code with an extrusion, fillet and sketch of face: > screenshot graph:
src/lang/std/artifactGraph.test.ts#L316
Error: node not found: 064992c9-7cff-48b6-a927-3f30705e8b45
❯ find node_modules/d3-force/src/link.js:10:20
❯ initialize node_modules/d3-force/src/link.js:61:58
❯ Function.force.initialize node_modules/d3-force/src/link.js:93:5
❯ initializeForce node_modules/d3-force/src/simulation.js:80:33
❯ Object.force node_modules/d3-force/src/simulation.js:126:90
❯ GraphTheGraph src/lang/std/artifactGraph.test.ts:316:6
❯ src/lang/std/artifactGraph.test.ts:236:13
|
src/lang/std/artifactGraph.test.ts > capture graph of sketchOnFaceOnFace... > code with an extrusion, fillet and sketch of face: > setup:
src/lang/std/artifactGraph.test.ts#L316
Error: node not found: 1f5e4a7b-c502-4905-9e6f-eb073b3581bc
❯ find node_modules/d3-force/src/link.js:10:20
❯ initialize node_modules/d3-force/src/link.js:61:58
❯ Function.force.initialize node_modules/d3-force/src/link.js:93:5
❯ initializeForce node_modules/d3-force/src/simulation.js:80:33
❯ Object.force node_modules/d3-force/src/simulation.js:126:90
❯ GraphTheGraph src/lang/std/artifactGraph.test.ts:316:6
❯ src/lang/std/artifactGraph.test.ts:260:13
|
src/lang/std/artifactGraph.test.ts > testing getArtifactsToUpdate > should return an array of artifacts to update:
src/lang/std/artifactGraph.test.ts#L518
AssertionError: expected [ { type: 'path', …(5) } ] to deeply equal [ { type: 'path', segIds: [], …(3) } ]
- Expected
+ Received
Array [
Object {
"codeRef": Object {
"pathToNode": Array [
Array [
"body",
"",
],
],
"range": Array [
37,
64,
],
},
+ "id": "4fefcbee-3266-40aa-a681-0b75f0371289",
"planeId": "UUID-1",
"segIds": Array [],
"sweepId": "",
"type": "path",
},
]
❯ src/lang/std/artifactGraph.test.ts:518:44
|
yarn-unit-test
Process completed with exit code 1.
|
python-codespell
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|
yarn-lint:
src/components/AstExplorer.tsx#L7
'KclManager' is defined but never used
|
yarn-lint:
src/components/CommandBar/CommandBarSelectionInput.tsx#L8
'convertSelectionToOld' is defined but never used
|
yarn-lint:
src/components/ModelingMachineProvider.tsx#L46
'Selections__old' is defined but never used
|
yarn-lint:
src/components/ModelingMachineProvider.tsx#L52
'updateSelections' is defined but never used
|
yarn-lint:
src/components/ModelingMachineProvider.tsx#L54
'convertSelectionToOld' is defined but never used
|
yarn-lint:
src/lang/std/sketchcombos.test.ts#L12
'Selections' is defined but never used
|
yarn-lint:
src/lib/selections.ts#L8
'parse' is defined but never used
|