You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

coop.test.ts 748B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import state from 'state'
  2. import coopState from 'state/coop/coop-state'
  3. import * as json from './__mocks__/document.json'
  4. state.reset()
  5. state.send('MOUNTED').send('LOADED_FROM_FILE', { json: JSON.stringify(json) })
  6. state.send('CLEARED_PAGE')
  7. coopState.reset()
  8. describe('coop', () => {
  9. it('joins a room', () => {
  10. // TODO
  11. null
  12. })
  13. it('leaves a room', () => {
  14. // TODO
  15. null
  16. })
  17. it('rejoins a room', () => {
  18. // TODO
  19. null
  20. })
  21. it('handles another user joining room', () => {
  22. // TODO
  23. null
  24. })
  25. it('handles another user leaving room', () => {
  26. // TODO
  27. null
  28. })
  29. it('sends mouse movements', () => {
  30. // TODO
  31. null
  32. })
  33. it('receives mouse movements', () => {
  34. // TODO
  35. null
  36. })
  37. })