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 780B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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
  6. .send('MOUNTED')
  7. .send('MOUNTED_SHAPES')
  8. .send('LOADED_FROM_FILE', { json: JSON.stringify(json) })
  9. state.send('CLEARED_PAGE')
  10. coopState.reset()
  11. describe('coop', () => {
  12. it('joins a room', () => {
  13. // TODO
  14. null
  15. })
  16. it('leaves a room', () => {
  17. // TODO
  18. null
  19. })
  20. it('rejoins a room', () => {
  21. // TODO
  22. null
  23. })
  24. it('handles another user joining room', () => {
  25. // TODO
  26. null
  27. })
  28. it('handles another user leaving room', () => {
  29. // TODO
  30. null
  31. })
  32. it('sends mouse movements', () => {
  33. // TODO
  34. null
  35. })
  36. it('receives mouse movements', () => {
  37. // TODO
  38. null
  39. })
  40. })