Merge branch 'main' of https://github.com/NoteSpaceTeam/NoteSpace #259
Annotations
11 errors
server (ubuntu-latest, code/server)
Process completed with exit code 1.
|
tests/editor/fugue/fugue.test.ts > Fugue > should delete values locally:
code/client/tests/editor/fugue/fugue.test.ts#L78
AssertionError: expected [ { type: 'delete', id: { …(2) } } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ tests/editor/fugue/fugue.test.ts:78:24
|
tests/editor/fugue/fugue.test.ts > Fugue > should update inline style of node locally:
code/client/tests/editor/fugue/fugue.test.ts#L115
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/editor/fugue/fugue.test.ts:115:24
|
tests/editor/fugue/fugue.test.ts > Fugue > should return the nodes in the given selection:
code/client/tests/editor/fugue/fugue.test.ts#L178
AssertionError: expected [ { id: { …(2) }, value: 'b', …(7) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ tests/editor/fugue/fugue.test.ts:178:19
|
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 'c' to deeply equal 'bc'
- Expected
+ Received
- bc
+ c
❯ tests/editor/fugue/fugue.test.ts:201:53
|
tests/editor/fugue/fugue.test.ts > Fugue > should return all nodes until the given separator:
code/client/tests/editor/fugue/fugue.test.ts#L225
AssertionError: expected [ …(3) ] to have a length of 4 but got 3
- Expected
+ Received
- 4
+ 3
❯ tests/editor/fugue/fugue.test.ts:225:19
|
tests/editor/fugue/fugue.test.ts > Fugue > should delete a word by cursor:
code/client/tests/editor/fugue/fugue.test.ts#L249
AssertionError: expected [ …(2) ] to have a length of 3 but got 2
- Expected
+ Received
- 3
+ 2
❯ tests/editor/fugue/fugue.test.ts:249:24
|
tests/editor/slate/toSlate.test.ts > toSlate > should return descendants based on fugue tree:
code/client/tests/editor/slate/toSlate.test.ts#L42
AssertionError: expected [ { type: 'heading-one', …(1) }, …(1) ] to deeply equal [ { type: 'heading-one', …(1) }, …(1) ]
- Expected
+ Received
Array [
Object {
"children": Array [
Object {
- "bold": true,
- "text": "a",
- },
- Object {
- "text": "bc",
+ "text": "abc",
},
],
"type": "heading-one",
},
Object {
"children": Array [
Object {
"text": "defg",
},
],
"type": "list-item",
},
]
❯ tests/editor/slate/toSlate.test.ts:42:25
|
tests/editor/domain/document/inputOperations.test.ts > Input Operations > should insert character:
code/client/src/domain/editor/fugue/Fugue.ts#L84
TypeError: Cannot read properties of undefined (reading 'rightChildren')
❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:84:26
❯ src/domain/editor/fugue/Fugue.ts:60:30
❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:58: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#L84
TypeError: Cannot read properties of undefined (reading 'rightChildren')
❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:84:26
❯ src/domain/editor/fugue/Fugue.ts:60:30
❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:58: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#L84
TypeError: Cannot read properties of undefined (reading 'rightChildren')
❯ Fugue.getInsertOperation src/domain/editor/fugue/Fugue.ts:84:26
❯ src/domain/editor/fugue/Fugue.ts:60:30
❯ Fugue.insertLocal src/domain/editor/fugue/Fugue.ts:58:19
❯ Object.insertCharacter src/domain/editor/connectors/input/connector.ts:14:30
❯ tests/editor/domain/document/inputOperations.test.ts:61:21
|