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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import { runFixedLayoutTest } from '../__mocks__/run-fixed-layout-test';
  6. runFixedLayoutTest(
  7. 'Variable Fix Layout Group',
  8. {
  9. nodes: [
  10. {
  11. id: 'start_0',
  12. type: 'start',
  13. meta: {
  14. isStart: true,
  15. },
  16. blocks: [],
  17. },
  18. {
  19. id: '$group_test$',
  20. type: 'block',
  21. blocks: [
  22. {
  23. id: 'node_0',
  24. type: 'noop',
  25. blocks: [],
  26. },
  27. {
  28. id: 'node_1',
  29. type: 'noop',
  30. blocks: [],
  31. },
  32. ],
  33. },
  34. {
  35. id: 'end_0',
  36. type: 'end',
  37. blocks: [],
  38. },
  39. ],
  40. },
  41. {}
  42. );