Code cleanup #213
Annotations
11 errors
server (ubuntu-latest, code/server)
Process completed with exit code 1.
|
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/slate/handlers/history/cut.test.ts > Single line > Single style > Should redo cut:
code/client/tests/editor/slate/handlers/history/utils.ts#L95
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ Module.getRedoOperations tests/editor/slate/handlers/history/utils.ts:95:29
❯ tests/editor/slate/handlers/history/cut.test.ts:48:43
|
tests/editor/slate/handlers/history/cut.test.ts > Single line > Multiple styles > Should redo cut:
code/client/tests/editor/slate/handlers/history/utils.ts#L95
AssertionError: expected +0 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 0
❯ Module.getRedoOperations tests/editor/slate/handlers/history/utils.ts:95:29
❯ tests/editor/slate/handlers/history/cut.test.ts:100:43
|
tests/editor/slate/handlers/history/delete-text.test.ts > No style > should redo delete:
code/client/tests/editor/slate/handlers/history/utils.ts#L95
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ Module.getRedoOperations tests/editor/slate/handlers/history/utils.ts:95:29
❯ tests/editor/slate/handlers/history/delete-text.test.ts:56:28
|
tests/editor/slate/handlers/history/delete-text.test.ts > Block Style > should undo remove block style:
code/client/tests/editor/slate/handlers/history/delete-text.test.ts#L86
AssertionError: expected { …(2) } to deeply equal { …(2) }
- Expected
+ Received
Object {
"end": Object {
- "column": 0,
+ "column": Infinity,
"line": 0,
},
"start": Object {
"column": 0,
"line": 0,
},
}
❯ tests/editor/slate/handlers/history/delete-text.test.ts:86:26
|
tests/editor/slate/handlers/history/delete-text.test.ts > Block Style > should redo remove block style:
code/client/tests/editor/slate/handlers/history/delete-text.test.ts#L99
AssertionError: expected { …(2) } to deeply equal { …(2) }
- Expected
+ Received
Object {
"end": Object {
- "column": 0,
+ "column": Infinity,
"line": 0,
},
"start": Object {
"column": 0,
"line": 0,
},
}
❯ tests/editor/slate/handlers/history/delete-text.test.ts:99:28
|
tests/editor/slate/handlers/history/delete-text.test.ts > Inline Style > should redo remove inline style:
code/client/tests/editor/slate/handlers/history/utils.ts#L95
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ Module.getRedoOperations tests/editor/slate/handlers/history/utils.ts:95:29
❯ tests/editor/slate/handlers/history/delete-text.test.ts:127: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/insert-text.test.ts#L93
AssertionError: expected { type: 'paragraph' } to be { type: 'heading-one' } // Object.is equality
- Expected
+ Received
Object {
- "type": "heading-one",
+ "type": "paragraph",
}
❯ tests/editor/slate/handlers/history/insert-text.test.ts:93:27
|
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
|