Skip to content

Commit

Permalink
test(portable-text-editor): adjust snapshot after selection fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin authored and rexxars committed Sep 23, 2022
1 parent 8acf960 commit a6318cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ describe('collaborate editing', () => {
focus: {path: [{_key: 'randomKey0'}, 'children', {_key: 'randomKey1'}], offset: 11},
})
expect(selectionB).toEqual({
anchor: {offset: 0, path: [{_key: 'B-0'}, 'children', {_key: 'B-1'}]},
focus: {offset: 0, path: [{_key: 'B-0'}, 'children', {_key: 'B-1'}]},
anchor: {offset: 0, path: [{_key: 'randomKey0'}, 'children', {_key: 'randomKey1'}]},
focus: {offset: 0, path: [{_key: 'randomKey0'}, 'children', {_key: 'randomKey1'}]},
})
})

Expand Down

0 comments on commit a6318cd

Please sign in to comment.