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.2KB

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