Skip to content

0.17.6-12, 2.6.5-beta-1, font loading #182

0.17.6-12, 2.6.5-beta-1, font loading

0.17.6-12, 2.6.5-beta-1, font loading #182

Triggered via push November 4, 2024 18:00
Status Failure
Total duration 1m 49s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
excalidraw-app/tests/LanguageList.test.tsx: packages/excalidraw/tests/helpers/api.ts#L45
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/api.ts:45:1 ❯ packages/excalidraw/tests/helpers/ui.ts:5:31
excalidraw-app/tests/MobileMenu.test.tsx: packages/excalidraw/main.js#L6
Error: Cannot find module './dist/excalidraw.production.min.js' Require stack: - /home/runner/work/excalidraw/excalidraw/packages/excalidraw/main.js ❯ packages/excalidraw/main.js:6: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#L45
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/api.ts:45:1 ❯ packages/excalidraw/tests/helpers/ui.ts:5:31
packages/excalidraw/clipboard.test.ts: packages/excalidraw/tests/helpers/ui.ts#L42
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/ui.ts:42:1 ❯ packages/excalidraw/tests/test-utils.ts:7:31
packages/excalidraw/frame.test.tsx: packages/excalidraw/tests/helpers/ui.ts#L42
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/ui.ts:42:1 ❯ packages/excalidraw/tests/test-utils.ts:7:31
packages/utils/export.test.ts > exportToSvg > with default arguments: packages/utils/export.test.ts#L91
Error: Snapshot `exportToSvg > with default arguments 1` mismatched - Expected + Received @@ -4,11 +4,14 @@ "customType": null, "lastActiveTool": null, "locked": false, "type": "selection", }, - "collaborators": Map {}, + "allowPinchZoom": false, + "allowWheelZoom": false, + "collaborators": Map {}, + "colorPalette": undefined, "contextMenu": null, "croppingElementId": null, "currentChartType": "bar", "currentHoveredFontFamily": null, "currentItemArrowType": "round", @@ -23,12 +26,15 @@ "currentItemStartArrowhead": null, "currentItemStrokeColor": "#1e1e1e", "currentItemStrokeStyle": "solid", "currentItemStrokeWidth": 2, "currentItemTextAlign": "left", + "currentStrokeOptions": null, "cursorButton": "up", + "customPens": [], "defaultSidebarDockedPreference": false, + "dynamicStyle": {}, "editingFrame": null, "editingGroupId": null, "editingLinearElement": null, "editingTextElement": null, "elementsToHighlight": null, @@ -38,26 +44,38 @@ "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, - "gridModeEnabled": false, - "gridSize": 20, - "gridStep": 5, + "gridColor": { + "Bold": "#cccccc", + "Regular": "#e5e5e5", + }, + "gridModeEnabled": false, + "gridSize": 20, + "gridStep": 5, + "highlightSearchResult": false, + "invertBindingBehaviour": false, "isBindingEnabled": true, "isCropping": false, "isLoading": false, "isResizing": false, "isRotating": false, "lastPointerDownWith": "mouse", + "linkOpacity": 1, "multiElement": null, "name": "name", "newElement": null, "objectsSnapModeEnabled": false, "openDialog": null, @@ -73,11 +91,13 @@ "shown": false, }, "penDetected": false, "penMode": false, "pendingImageElementId": null, + "pinnedScripts": [], "previousSelectedElementIds": {}, + "resetCustomPen": null, "resizingElement": null, "scrollX": 0, "scrollY": 0, "scrolledOutside": false, "searchMatches": [], @@ -96,10 +116,11 @@ "panels": 3, }, "suggestedBindings": [], "theme": "light", "toast": null, + "trayModeEnabled": false, "userToFollow": null, "viewBackgroundColor": "#ffffff", "viewModeEnabled": false, "zenModeEnabled": false, "zoom": { ❯ packages/utils/export.test.ts:91:38
packages/utils/utils.unmocked.test.ts: packages/excalidraw/tests/helpers/ui.ts#L42
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/ui.ts:42:1 ❯ packages/excalidraw/tests/test-utils.ts:7:31
packages/utils/withinBounds.test.ts: packages/excalidraw/tests/helpers/ui.ts#L42
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/ui.ts:42:1 ❯ packages/excalidraw/tests/test-utils.ts:7:31
packages/excalidraw/actions/actionElementLock.test.tsx: packages/excalidraw/tests/helpers/api.ts#L45
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/api.ts:45:1 ❯ packages/excalidraw/tests/helpers/ui.ts:5:31
packages/excalidraw/actions/actionFlip.test.tsx: packages/excalidraw/tests/helpers/api.ts#L45
TypeError: createTestHook is not a function ❯ packages/excalidraw/tests/helpers/api.ts:45:1 ❯ packages/excalidraw/tests/helpers/ui.ts:5:31