Skip to content

修改数据类型 #143

修改数据类型

修改数据类型 #143

Triggered via pull request December 16, 2024 16:01
Status Failure
Total duration 2m 15s
Artifacts

codecov.yml

on: pull_request
Run tests and collect coverage
2m 5s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Unhandled error: src/MarkdownEditor/editor/utils/editorUtils.ts#L289
TypeError: editor.setNodes is not a function ❯ Object.setNodes node_modules/slate/src/interfaces/transforms/node.ts:182:12 ❯ Function.highColor src/MarkdownEditor/editor/utils/editorUtils.ts:289:16 ❯ onClick src/MarkdownEditor/editor/tools/ToolBar/BaseBar.tsx:354:29 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLUnknownElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ HTMLUnknownElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17 ❯ HTMLUnknownElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34 This error originated in "tests/editor/tools/ToolBar/BaseBar.test.tsx" 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 "handles color picker interactions". 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.
Run tests and collect coverage
Process completed with exit code 1.
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636