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.

arrow.test.ts 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 shape', () => {
  8. null
  9. })
  10. it('cancels shape while creating', () => {
  11. null
  12. })
  13. it('moves shape', () => {
  14. null
  15. })
  16. it('rotates shape', () => {
  17. null
  18. })
  19. it('measures bounds', () => {
  20. null
  21. })
  22. it('measures rotated bounds', () => {
  23. null
  24. })
  25. it('transforms single', () => {
  26. null
  27. })
  28. it('transforms in a group', () => {
  29. null
  30. })
  31. /* -------------------- Specific -------------------- */
  32. it('creates compass-aligned shape with shift key', () => {
  33. null
  34. })
  35. it('changes start handle', () => {
  36. null
  37. })
  38. it('changes end handle', () => {
  39. null
  40. })
  41. it('changes bend handle', () => {
  42. null
  43. })
  44. it('resets bend handle when double-pointed', () => {
  45. null
  46. })
  47. /* -------------------- Readonly -------------------- */
  48. it('does not create shape when readonly', () => {
  49. null
  50. })
  51. })