Skip to content

Minor Fixes

Minor Fixes #244

Triggered via push June 21, 2024 18:51
Status Failure
Total duration 1m 17s
Artifacts

main.yml

on: push
Matrix: client
Matrix: server
Matrix: shared
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should insert character: code/client/src/domain/editor/fugue/Fugue.ts#L88
TypeError: Cannot read properties of undefined (reading 'rightChildren') ❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:88:26 ❯ src/domain/editor/fugue/Fugue.ts:64:30 ❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:62:19 ❯ Object.insertCharacter src/domain/editor/connectors/input/connector.ts:14:30 ❯ tests/editor/domain/document/inputOperations.test.ts:26:21
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should delete character: code/client/src/domain/editor/fugue/Fugue.ts#L88
TypeError: Cannot read properties of undefined (reading 'rightChildren') ❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:88:26 ❯ src/domain/editor/fugue/Fugue.ts:64:30 ❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:62:19 ❯ Object.insertCharacter src/domain/editor/connectors/input/connector.ts:14:30 ❯ tests/editor/domain/document/inputOperations.test.ts:47:21
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should delete by selection: code/client/src/domain/editor/fugue/Fugue.ts#L88
TypeError: Cannot read properties of undefined (reading 'rightChildren') ❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:88:26 ❯ src/domain/editor/fugue/Fugue.ts:64:30 ❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:62:19 ❯ Object.insertCharacter src/domain/editor/connectors/input/connector.ts:14:30 ❯ tests/editor/domain/document/inputOperations.test.ts:61:21
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should delete word: code/client/src/domain/editor/fugue/Fugue.ts#L88
TypeError: Cannot read properties of undefined (reading 'rightChildren') ❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:88:26 ❯ src/domain/editor/fugue/Fugue.ts:64:30 ❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:62:19 ❯ Object.insertCharacter src/domain/editor/connectors/input/connector.ts:14:30 ❯ tests/editor/domain/document/inputOperations.test.ts:79:23 ❯ tests/editor/domain/document/inputOperations.test.ts:78:20
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Start of line > No block style > No inline style > should redo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L42
AssertionError: expected [ { type: 'paragraph', …(1) } ] to deeply equal [ { type: 'paragraph', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { - "text": "ello World", + "text": "Hello World", }, ], "type": "paragraph", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:42:33
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Start of line > No block style > Inline style > should redo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L75
AssertionError: expected [ { type: 'paragraph', …(1) } ] to deeply equal [ { type: 'paragraph', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { "bold": true, - "text": "ello World", + "text": "Hello World", }, ], "type": "paragraph", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:75:33
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Start of line > Block style > No inline style > should redo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L108
AssertionError: expected [ { type: 'heading-one', …(1) } ] to deeply equal [ { type: 'heading-one', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { - "text": "ello World", + "text": "Hello World", }, ], "type": "heading-one", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:108:33
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Start of line > Block style > Inline style > should redo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L142
AssertionError: expected [ { type: 'heading-one', …(1) } ] to deeply equal [ { type: 'heading-one', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { "bold": true, - "text": "ello World", + "text": "Hello World", }, ], "type": "heading-one", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:142:33
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Middle of line > No block style > No inline style > should undo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L169
AssertionError: expected [ { type: 'paragraph', …(1) } ] to deeply equal [ { type: 'paragraph', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { - "text": "Hello World", + "text": "Hello orld", }, ], "type": "paragraph", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:169:33
tests/editor/slate/operations/history/text-tests/delete-text.test.ts > Undo delete text > Middle of line > No block style > No inline style > should redo: code/client/tests/editor/slate/operations/history/text-tests/delete-text.test.ts#L176
AssertionError: expected [ { type: 'paragraph', …(1) } ] to deeply equal [ { type: 'paragraph', …(1) } ] - Expected + Received Array [ Object { "children": Array [ Object { - "text": "HelloWorld", + "text": "Hell orld", }, ], "type": "paragraph", }, ] ❯ tests/editor/slate/operations/history/text-tests/delete-text.test.ts:176:33