variable-fix-layout-group.test.ts 652 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { runFixedLayoutTest } from '../__mocks__/run-fixed-layout-test';
  2. runFixedLayoutTest(
  3. 'Variable Fix Layout Group',
  4. {
  5. nodes: [
  6. {
  7. id: 'start_0',
  8. type: 'start',
  9. blocks: [],
  10. },
  11. {
  12. id: '$group_test$',
  13. type: 'block',
  14. blocks: [
  15. {
  16. id: 'node_0',
  17. type: 'noop',
  18. blocks: [],
  19. },
  20. {
  21. id: 'node_1',
  22. type: 'noop',
  23. blocks: [],
  24. },
  25. ],
  26. },
  27. {
  28. id: 'end_0',
  29. type: 'end',
  30. blocks: [],
  31. },
  32. ],
  33. },
  34. {
  35. startNodeId: 'start',
  36. }
  37. );