Skip to content

fix: 表格第一个回车编辑器无法正常展示 #2500

fix: 表格第一个回车编辑器无法正常展示

fix: 表格第一个回车编辑器无法正常展示 #2500

Triggered via pull request January 22, 2025 07:20
Status Failure
Total duration 8m 20s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Unhandled error: node_modules/lodash.debounce/index.js#L160
TypeError: xd.toDOMRange(...).getClientRects is not a function ❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:63:23 ❯ e.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:244:29 ❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:332: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: xd.toDOMRange(...).getClientRects is not a function ❯ getPositionBySelection node_modules/core-js/src/menus/helpers/position.ts:63:23 ❯ e.setPosition node_modules/core-js/src/menus/bar/HoverBar.ts:244:29 ❯ Object.<anonymous> node_modules/core-js/src/menus/bar/HoverBar.ts:332: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__/plugin.test.ts > TableModule module > module plugin > use withTable plugin when break line not split node: packages/table-module/__tests__/plugin.test.ts#L29
AssertionError: expected "spy" to be called with arguments: [ '\n\r' ] Received: 1st spy call: Array [ " - ", + ", ] Number of calls: 1 ❯ packages/table-module/__tests__/plugin.test.ts:29:22
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636