mirror of
https://github.com/yjs/yjs.git
synced 2026-08-29 10:09:05 +02:00
schemas and upgrade lib0
This commit is contained in:
@@ -232,7 +232,8 @@ export const testContainsUpdate = _tc => {
|
||||
* @param {t.TestCase} _tc
|
||||
*/
|
||||
export const testContainsUpdate2 = _tc => {
|
||||
const local = new Y.Doc(), remote = new Y.Doc()
|
||||
const local = new Y.Doc()
|
||||
const remote = new Y.Doc()
|
||||
local.get('t').insert(0, 'abcdefghij')
|
||||
local.get('t').delete(0, 3)
|
||||
Y.applyUpdate(remote, Y.encodeStateAsUpdate(local))
|
||||
|
||||
Reference in New Issue
Block a user