12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import state from 'state'
- import coopState from 'state/coop/coop-state'
- import * as json from './__mocks__/document.json'
-
- state.reset()
- state
- .send('MOUNTED')
- .send('MOUNTED_SHAPES')
- .send('LOADED_FROM_FILE', { json: JSON.stringify(json) })
- state.send('CLEARED_PAGE')
-
- coopState.reset()
-
- describe('coop', () => {
- it('joins a room', () => {
- // TODO
- null
- })
-
- it('leaves a room', () => {
- // TODO
- null
- })
-
- it('rejoins a room', () => {
- // TODO
- null
- })
-
- it('handles another user joining room', () => {
- // TODO
- null
- })
-
- it('handles another user leaving room', () => {
- // TODO
- null
- })
-
- it('sends mouse movements', () => {
- // TODO
- null
- })
-
- it('receives mouse movements', () => {
- // TODO
- null
- })
- })
|