Unbind formatting form Selection ranges #78
Annotations
1 error and 3 warnings
CaretManager > should dispatch caret removed event on caret removal:
packages/model/src/CaretManagement/CaretManager.spec.ts#L87
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: ObjectContaining {"detail": {"id": 6787984131}}
Received: {Symbol(type): "caret-updated", Symbol(kTarget): {Symbol(kEvents): Map {"caret-updated" => {"next": {"callback": [Function mockConstructor], "flags": 0, "listener": [Function mockConstructor], "next": undefined, "previous": [Circular]}, "resistStopPropagation": false, "size": 1}}, Symbol(events.maxEventTargetListeners): 10, Symbol(events.maxEventTargetListenersWarned): false, Symbol(kHandlers): Map {}}, Symbol(kIsBeingDispatched): false, Symbol(detail): {"id": 6787984131, "index": null}}
Number of calls: 1
at Object.<anonymous> (/home/runner/work/document-model/document-model/packages/model/src/CaretManagement/CaretManager.spec.ts:97:21)
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)
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|