mirror of
https://github.com/yjs/yjs.git
synced 2026-08-29 10:09:05 +02:00
fix tests and upgrade deps
This commit is contained in:
@@ -575,7 +575,7 @@ export const testAttributedContent = _tc => {
|
||||
})
|
||||
t.group('delete value', () => {
|
||||
ymap.deleteAttr('test')
|
||||
const expectedContent = { test: delta.$deltaMapChangeJson.expect({ type: 'delete', prevValue: 'fourtytwo', attribution: { delete: [] } }) }
|
||||
const expectedContent = { test: delta.$deltaMapChangeJson.expect({ type: 'delete', attribution: { delete: [] } }) }
|
||||
const attributedContent = ymap.toDelta(attributionManager)
|
||||
console.log(attributedContent.toJSON())
|
||||
t.compare(expectedContent, attributedContent.toJSON().attrs)
|
||||
|
||||
Reference in New Issue
Block a user