automerge / automerge-classic

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
http://automerge.org/
MIT License
14.75k stars 466 forks source link

Fix wasm tests #366

Closed jeffa5 closed 3 years ago

jeffa5 commented 3 years ago

This fixes some of the wasm tests that I'm finding issues with while implementing the new patch format in https://github.com/automerge/automerge-rs/pull/88.

Seems it also brings to light some missing type: 'value's in the js code too. (I'd appreciate someone with more intimate knowledge of the js implementation to help me with the errors here as trying to change a couple of the places in the code makes more things fail).

ept commented 3 years ago

This looks great, thank you @jeffa5!