Skip to content

Implement some BlocksAPI method #17

Implement some BlocksAPI method

Implement some BlocksAPI method #17

Triggered via pull request April 11, 2025 00:19
Status Success
Total duration 51s
Artifacts

sdk.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
EditorJSModel > should expose only the public API: packages/model/src/EditorJSModel.spec.ts#L8
Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -1,7 +1,8 @@ Array [ "addBlock", + "clearBlocks", "constructor", "createCaret", "devModeGetDocument", "format", "getFragments", @@ -10,11 +11,10 @@ "initializeDocument", "insertData", "insertText", "length", "modifyData", - "moveBlock", "properties", "removeBlock", "removeCaret", "removeData", "removeText", at Object.<anonymous> (/home/runner/work/document-model/document-model/packages/model/src/EditorJSModel.spec.ts:38:34) at Promise.then.completed (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/document-model/document-model/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/document-model/document-model/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/document-model/document-model/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/document-model/document-model/node_modules/jest-runner/build/testWorker.js:106:12)