loro/crates/loro-wasm/tests
Zixuan Chen ddafb7e899
feat: diff, revertTo, and applyDiff (#610)
* feat: expose diff, apply_diff, revert_to, to rust crate

* fix: revert to

* refactor: simplify TextDiff data structure

* fix: make diff and apply_diff actually work

* step 0

* feat(wasm): add diff, applyDiff, revertTo

* test: add a more complicated revert test

* chore: fix clippy warnings

* feat: add order to diff events batch

* fix: DiffBatch invariants maintain

* docs: refine docs a bit

* chore: fix warnings

* chore: add changeset
2025-01-09 12:39:03 +08:00
..
__snapshots__ feat: diff, revertTo, and applyDiff (#610) 2025-01-09 12:39:03 +08:00
awareness.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
basic.test.ts feat: diff, revertTo, and applyDiff (#610) 2025-01-09 12:39:03 +08:00
checkout.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
compatibility.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
counter.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
detached_editing.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
event.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
gc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
issue.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
json.test.ts feat: implement toJsonWithReplacer method for LoroDoc to customize JSON serialization (#582) 2024-12-16 11:53:08 +08:00
misc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
movable_list.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
richtext.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
text.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
tree.test.ts feat: impl toJSON for LoroTreeNode (#538) 2024-11-05 20:11:03 +08:00
type.test.ts refactor: rename importUpdateBatch into importBatch & refine type (#580) 2024-12-15 12:17:41 +08:00
undo.test.ts feat: UndoManager's onPush now can access the change event (#588) 2024-12-23 11:49:35 +08:00
version.test.ts fix: get correct encode blob info (#545) 2024-11-09 15:43:11 +08:00