Skip to content

Fixed slate not confirming state with fugue #221

Fixed slate not confirming state with fugue

Fixed slate not confirming state with fugue #221

Triggered via push June 7, 2024 11:03
Status Failure
Total duration 58s
Artifacts

main.yml

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

Annotations

10 errors
tests/editor/fugue/fugue.test.ts > Fugue > should insert multiple lines locally: code/client/tests/editor/fugue/fugue.test.ts#L65
AssertionError: expected 'aefbc\nd' to deeply equal 'abc\ndef' - Expected + Received - abc - def + aefbc + d ❯ tests/editor/fugue/fugue.test.ts:65:30
tests/editor/fugue/fugue.test.ts > Fugue > should return the nodes in the given selections: code/client/tests/editor/fugue/fugue.test.ts#L201
AssertionError: expected 'hi' to deeply equal 'bc' - Expected + Received - bc + hi ❯ tests/editor/fugue/fugue.test.ts:201:53
tests/editor/slate/toSlate.test.ts > toSlate > should return descendants based on fugue tree: code/client/tests/editor/slate/toSlate.test.ts#L36
AssertionError: expected 'aefgbc\nd' to deeply equal 'abc\ndefg' - Expected + Received - abc - defg + aefgbc + d ❯ tests/editor/slate/toSlate.test.ts:36:30
tests/editor/domain/document/fugueOperations.test.ts > Fugue Operations > should initialize document: code/client/tests/editor/domain/document/fugueOperations.test.ts#L89
TypeError: rootNode is not a function ❯ tests/editor/domain/document/fugueOperations.test.ts:89:36
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should paste text: code/client/tests/editor/domain/document/inputOperations.test.ts#L98
AssertionError: expected 'hhis is a test\nello world\nt' to deeply equal 'hello world\nthis is a test\n' - Expected + Received - hello world - this is a test - + hhis is a test + ello world + t ❯ tests/editor/domain/document/inputOperations.test.ts:98:30
tests/editor/domain/document/markdownOperations.test.ts > Markdown Operations > should apply inline style to selection: code/client/tests/editor/domain/document/markdownOperations.test.ts#L37
AssertionError: expected [ { type: 'paragraph', …(1) }, …(1) ] to deeply equal [ { type: 'paragraph', …(1) }, …(1) ] - Expected + Received Array [ Object { "children": Array [ Object { "bold": true, - "text": "abc", + "text": "aefbc", }, ], "type": "paragraph", }, Object { "children": Array [ Object { "bold": true, - "text": "de", - }, - Object { - "text": "f", + "text": "d", }, ], "type": "paragraph", }, ] ❯ tests/editor/domain/document/markdownOperations.test.ts:37:28
tests/editor/domain/document/markdownOperations.test.ts > Markdown Operations > should reset block styles by selection: code/client/tests/editor/domain/document/markdownOperations.test.ts#L58
AssertionError: expected [ { type: 'paragraph', …(1) }, …(1) ] to deeply equal [ { type: 'paragraph', …(1) }, …(1) ] - Expected + Received Array [ Object { "children": Array [ Object { - "text": "abc", + "text": "aefbc", }, ], "type": "paragraph", }, Object { "children": Array [ Object { - "text": "def", + "text": "d", }, ], "type": "paragraph", }, ] ❯ tests/editor/domain/document/markdownOperations.test.ts:58:28
tests/editor/slate/handlers/history/insert-text.test.ts > No style > Should undo insert: code/client/tests/editor/slate/handlers/history/utils.ts#L84
AssertionError: expected +0 to be 3 // Object.is equality - Expected + Received - 3 + 0 ❯ Module.getUndoOperations tests/editor/slate/handlers/history/utils.ts:84:29 ❯ tests/editor/slate/handlers/history/insert-text.test.ts:53:41
tests/editor/slate/handlers/history/insert-text.test.ts > Block style > Should undo insert block: code/client/tests/editor/slate/handlers/history/utils.ts#L84
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ Module.getUndoOperations tests/editor/slate/handlers/history/utils.ts:84:29 ❯ tests/editor/slate/handlers/history/insert-text.test.ts:88:41
tests/editor/slate/handlers/history/insert-text.test.ts > Inline style > Empty line > Should undo insert text: code/client/tests/editor/slate/handlers/history/utils.ts#L84
AssertionError: expected +0 to be 3 // Object.is equality - Expected + Received - 3 + 0 ❯ Module.getUndoOperations tests/editor/slate/handlers/history/utils.ts:84:29 ❯ tests/editor/slate/handlers/history/insert-text.test.ts:125:43