feat: add test annotations

This commit is contained in:
cudr
2019-10-10 22:45:31 +03:00
parent ab3b8c4ee3
commit 2a4d64b074
10 changed files with 153 additions and 24 deletions

View File

@@ -32,6 +32,8 @@ class Connection {
private appendDoc = (path: string, value: ValueJSON) => {
const sync = toSync(value)
sync.cursors = {}
const doc = Automerge.from(sync)
this.docSet.setDoc(path, doc)