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.

create.test.ts 531B

12345678910111213141516171819202122232425262728
  1. import state from 'state'
  2. import * as json from './__mocks__/document.json'
  3. state.reset()
  4. state.send('MOUNTED').send('LOADED_FROM_FILE', { json: JSON.stringify(json) })
  5. state.send('CLEARED_PAGE')
  6. describe('arrow shape', () => {
  7. it('creates a shape', () => {
  8. // TODO
  9. null
  10. })
  11. it('cancels shape while creating', () => {
  12. // TODO
  13. null
  14. })
  15. it('removes shape on undo and restores it on redo', () => {
  16. // TODO
  17. null
  18. })
  19. it('does not create shape when readonly', () => {
  20. // TODO
  21. null
  22. })
  23. })