Skip to content

test/add more table test #2540

test/add more table test

test/add more table test #2540

Triggered via pull request January 31, 2025 08:14
Status Failure
Total duration 7m 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Unhandled error: node_modules/lodash.debounce/index.js#L160
TypeError: vd.toDOMRange(...).getClientRects is not a function ❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:63:23 ❯ t.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:244:29 ❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:334:12 ❯ invokeFunc node_modules/lodash.debounce/index.js:160:19 ❯ trailingEdge node_modules/lodash.debounce/index.js:207:14 ❯ Timeout.timerExpired [as _onTimeout] node_modules/lodash.debounce/index.js:195:14 ❯ listOnTimeout node:internal/timers:569:17 ❯ processTimers node:internal/timers:512:7 This error originated in "packages/basic-modules/__tests__/color/color-menus.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "packages/basic-modules/__tests__/color/color-menus.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/lodash.debounce/index.js#L160
TypeError: vd.toDOMRange(...).getClientRects is not a function ❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:63:23 ❯ t.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:244:29 ❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:334:12 ❯ invokeFunc node_modules/lodash.debounce/index.js:160:19 ❯ trailingEdge node_modules/lodash.debounce/index.js:207:14 ❯ Timeout.timerExpired [as _onTimeout] node_modules/lodash.debounce/index.js:195:14 ❯ listOnTimeout node:internal/timers:569:17 ❯ processTimers node:internal/timers:512:7 This error originated in "packages/basic-modules/__tests__/color/color-menus.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "packages/basic-modules/__tests__/color/color-menus.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
packages/table-module/__tests__/parse-html.test.ts > table - parse html > table: packages/table-module/__tests__/parse-html.test.ts#L158
AssertionError: expected { type: 'table', width: '100%', …(2) } to deeply equal { type: 'table', width: '100%', …(2) } - Expected + Received Object { - "height": 0, - "mergeChildren": Array [ + "children": Array [ Object { "children": Array [ Object { "borderColor": "#ccc", "borderStyle": "solid", "borderWidth": "1", "children": Array [ Object { "text": "", }, ], "colSpan": 2, "hidden": false, "isHeader": false, "rowSpan": 1, "type": "table-cell", "width": "auto", }, Object { "children": Array [ Object { "text": "", }, ], "hidden": true, "type": "table-cell", }, Object { "borderColor": "#ccc", "borderStyle": "solid", "borderWidth": "1", "children": Array [ Object { "text": "", }, ], "colSpan": 1, "hidden": true, "isHeader": false, "rowSpan": 1, "type": "table-cell", "width": "auto", }, ], "type": "table-row", }, ], + "height": 0, "type": "table", "width": "100%", } ❯ packages/table-module/__tests__/parse-html.test.ts:158:80
test
Process completed with exit code 1.