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

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