Upstream sync #22
Annotations
12 errors and 2 warnings
excalidraw-app/tests/LanguageList.test.tsx:
packages/excalidraw/tests/helpers/api.ts#L38
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/api.ts:38:1
❯ packages/excalidraw/tests/helpers/ui.ts:5:31
|
excalidraw-app/tests/MobileMenu.test.tsx:
packages/excalidraw/main.js#L5
Error: Cannot find module './dist/excalidraw.production.min.js'
Require stack:
- /home/runner/work/excalidraw/excalidraw/packages/excalidraw/main.js
❯ packages/excalidraw/main.js:5:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/excalidraw/excalidraw/packages/excalidraw/main.js' ] }
|
excalidraw-app/tests/collab.test.tsx:
packages/excalidraw/tests/helpers/api.ts#L38
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/api.ts:38:1
❯ packages/excalidraw/tests/helpers/ui.ts:5:31
|
packages/excalidraw/clipboard.test.ts:
packages/excalidraw/tests/helpers/ui.ts#L39
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/ui.ts:39:1
❯ packages/excalidraw/tests/test-utils.ts:6:31
|
packages/excalidraw/frame.test.tsx:
packages/excalidraw/tests/helpers/ui.ts#L39
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/ui.ts:39:1
❯ packages/excalidraw/tests/test-utils.ts:6:31
|
packages/utils/export.test.ts > exportToSvg > with default arguments:
packages/utils/export.test.ts#L92
Error: Snapshot `exportToSvg > with default arguments 1` mismatched
- Expected
+ Received
@@ -4,11 +4,14 @@
"customType": null,
"lastActiveTool": null,
"locked": false,
"type": "selection",
},
+ "allowPinchZoom": false,
+ "allowWheelZoom": false,
"collaborators": Map {},
+ "colorPalette": undefined,
"contextMenu": null,
"currentChartType": "bar",
"currentHoveredFontFamily": null,
"currentItemBackgroundColor": "transparent",
"currentItemEndArrowhead": "arrow",
@@ -21,13 +24,16 @@
"currentItemStartArrowhead": null,
"currentItemStrokeColor": "#1e1e1e",
"currentItemStrokeStyle": "solid",
"currentItemStrokeWidth": 2,
"currentItemTextAlign": "left",
+ "currentStrokeOptions": null,
"cursorButton": "up",
+ "customPens": [],
"defaultSidebarDockedPreference": false,
"draggingElement": null,
+ "dynamicStyle": {},
"editingElement": null,
"editingFrame": null,
"editingGroupId": null,
"editingLinearElement": null,
"elementsToHighlight": null,
@@ -37,23 +43,34 @@
"exportPadding": undefined,
"exportScale": 1,
"exportWithDarkMode": false,
"fileHandle": null,
"followedBy": Set {},
+ "frameColor": {
+ "fill": "rgba(0, 0, 200, 0.04)",
+ "nameColor": "#999999",
+ "stroke": "#bbb",
+ },
"frameRendering": {
"clip": true,
"enabled": true,
"name": true,
"outline": true,
},
"frameToHighlight": null,
+ "gridColor": {
+ "Bold": "#cccccc",
+ "Regular": "#e5e5e5",
+ },
"gridSize": null,
+ "invertBindingBehaviour": false,
"isBindingEnabled": true,
"isLoading": false,
"isResizing": false,
"isRotating": false,
"lastPointerDownWith": "mouse",
+ "linkOpacity": 1,
"multiElement": null,
"name": "name",
"objectsSnapModeEnabled": false,
"openDialog": null,
"openMenu": null,
@@ -68,11 +85,14 @@
"shown": false,
},
"penDetected": false,
"penMode": false,
"pendingImageElementId": null,
+ "pinnedScripts": [],
+ "previousGridSize": null,
"previousSelectedElementIds": {},
+ "resetCustomPen": null,
"resizingElement": null,
"scrollX": 0,
"scrollY": 0,
"scrolledOutside": false,
"selectedElementIds": {},
@@ -90,10 +110,11 @@
"panels": 3,
},
"suggestedBindings": [],
"theme": "light",
"toast": null,
+ "trayModeEnabled": false,
"userToFollow": null,
"viewBackgroundColor": "#ffffff",
"viewModeEnabled": false,
"zenModeEnabled": false,
"zoom": {
❯ packages/utils/export.test.ts:92:38
|
packages/utils/utils.unmocked.test.ts:
packages/excalidraw/tests/helpers/ui.ts#L39
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/ui.ts:39:1
❯ packages/excalidraw/tests/test-utils.ts:6:31
|
packages/utils/withinBounds.test.ts:
packages/excalidraw/tests/helpers/ui.ts#L39
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/ui.ts:39:1
❯ packages/excalidraw/tests/test-utils.ts:6:31
|
packages/excalidraw/actions/actionElementLock.test.tsx:
packages/excalidraw/tests/helpers/api.ts#L38
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/api.ts:38:1
❯ packages/excalidraw/tests/helpers/ui.ts:5:31
|
packages/excalidraw/actions/actionProperties.test.tsx:
packages/excalidraw/tests/helpers/api.ts#L38
TypeError: createTestHook is not a function
❯ packages/excalidraw/tests/helpers/api.ts:38:1
❯ packages/excalidraw/tests/helpers/ui.ts:5:31
|
coverage
Failed to parse the json-summary at path "/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:636:25)
at async readFile (node:internal/fs/promises:1246:14)
at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:191)
at async ll (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:272)
at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:1910)
|
coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
|
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
coverage
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|