yarn install --frozen-lockfile
yarn start
There are only two tests covering some main use cases of the service:
- When
user1
makes an edit whileuser2
is listening for updates on the document thenuser2
will get notified about the changes. - When
user1
makes some changes to documentA
whileuser2
falls behind on updates thenuser2
initiates a sync to get all the updates that they were missing.