Open kapv89 opened 1 year ago
Checklist
Describe the bug As seen in this repo - https://github.com/kapv89/yjs-scalable-ws-backend/tree/external_api_persistence ... adding "type": "module" to package.json of y-websocket allows y-websocket to be used in node-environment for unit tests. Not sure why this is not done yet by default on this package.
"type": "module"
package.json
y-websocket
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be trivial to use y-websocket in tests of your y-crdt websocket-backend. It's not right now.
Environment Information
Checklist
Describe the bug As seen in this repo - https://github.com/kapv89/yjs-scalable-ws-backend/tree/external_api_persistence ... adding
"type": "module"
topackage.json
ofy-websocket
allowsy-websocket
to be used in node-environment for unit tests. Not sure why this is not done yet by default on this package.To Reproduce Steps to reproduce the behavior:
y-websocket
lacking"type": "module"
Expected behavior It should be trivial to use
y-websocket
in tests of your y-crdt websocket-backend. It's not right now.Environment Information