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.

transform.test.ts 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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('transforms shapes', () => {
  7. it('transforms from the top edge', () => {
  8. // TODO
  9. null
  10. })
  11. it('transforms from the right edge', () => {
  12. // TODO
  13. null
  14. })
  15. it('transforms from the bottom edge', () => {
  16. // TODO
  17. null
  18. })
  19. it('transforms from the left edge', () => {
  20. // TODO
  21. null
  22. })
  23. it('transforms from the top-left corner', () => {
  24. // TODO
  25. null
  26. })
  27. it('transforms from the top-right corner', () => {
  28. // TODO
  29. null
  30. })
  31. it('transforms from the bottom-right corner', () => {
  32. // TODO
  33. null
  34. })
  35. it('transforms from the bottom-left corner', () => {
  36. // TODO
  37. null
  38. })
  39. })
  40. describe('transforms shapes while aspect-ratio locked', () => {
  41. // Fixed
  42. it('transforms from the top edge while aspect-ratio locked', () => {
  43. // TODO
  44. null
  45. })
  46. it('transforms from the right edge while aspect-ratio locked', () => {
  47. // TODO
  48. null
  49. })
  50. it('transforms from the bottom edge while aspect-ratio locked', () => {
  51. // TODO
  52. null
  53. })
  54. it('transforms from the left edge while aspect-ratio locked', () => {
  55. // TODO
  56. null
  57. })
  58. it('transforms from the top-left corner while aspect-ratio locked', () => {
  59. // TODO
  60. null
  61. })
  62. it('transforms from the top-right corner while aspect-ratio locked', () => {
  63. // TODO
  64. null
  65. })
  66. it('transforms from the bottom-right corner while aspect-ratio locked', () => {
  67. // TODO
  68. null
  69. })
  70. it('transforms from the bottom-left corner while aspect-ratio locked', () => {
  71. // TODO
  72. null
  73. })
  74. })