fix tests and upgrade deps

This commit is contained in:
Kevin Jahns
2026-02-25 16:16:46 +01:00
parent ae7dc2dedd
commit 2e330c97f5
4 changed files with 193 additions and 422 deletions

View File

@@ -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)