Code cleanup #213
Annotations
10 errors
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
This job failed
Loading